ui.backend.cocoa.views: only set gl-scale-factor if > 1.0.
parent
9a9ccf971b
commit
43d91bcf08
|
@ -307,9 +307,9 @@ CLASS: FactorView < NSOpenGLView NSTextInput
|
||||||
|
|
||||||
METHOD: void prepareOpenGL [
|
METHOD: void prepareOpenGL [
|
||||||
self 1 -> setWantsBestResolutionOpenGLSurface:
|
self 1 -> setWantsBestResolutionOpenGLSurface:
|
||||||
self -> backingScaleFactor
|
self -> backingScaleFactor dup 1.0 > [
|
||||||
[ gl-scale-factor set-global ]
|
gl-scale-factor set-global t retina? set-global
|
||||||
[ 1.0 > retina? set-global ] bi
|
] [ drop ] if
|
||||||
]
|
]
|
||||||
|
|
||||||
! Initialization
|
! Initialization
|
||||||
|
|
Loading…
Reference in New Issue