We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1b7ce commit 98c8256Copy full SHA for 98c8256
src/library_glfw.js
@@ -1324,10 +1324,9 @@ var LibraryGLFW = {
1324
/**
1325
* CSS Scaling is a feature that is NOT part of the GLFW API, but for historical reasons, it is available
1326
* in Emscripten.
1327
- * It is enabled by default but can be disabled by setting Module['EMSCRIPTEN_GLFW_DISABLE_CSS_SCALING'] to true.
1328
* It is automatically disabled when using Hi DPI (the library overrides CSS sizes). */
1329
isCSSScalingEnabled() {
1330
- return Module['EMSCRIPTEN_GLFW_DISABLE_CSS_SCALING'] !== true && !GLFW.isHiDPIAware();
+ return !GLFW.isHiDPIAware();
1331
},
1332
1333
adjustCanvasDimensions() {
0 commit comments