Emscripten version doesnt take display scaling into account anymore

This commit is contained in:
Yousef Khadadeh 2025-11-23 20:51:14 +03:00
parent 7baf629e04
commit c5ba20173b
3 changed files with 13 additions and 1 deletions

View file

@ -45,7 +45,9 @@ class MainProgram {
float density = 1.0f;
float scale = 1.0f;
bool applyDisplayScale = true;
#ifndef __EMSCRIPTEN__
bool applyDisplayScale = true;
#endif
int defaultMSAASampleCount = 0;
SkSurfaceProps defaultMSAASurfaceProps;