Emscripten version doesnt take display scaling into account anymore
This commit is contained in:
parent
7baf629e04
commit
c5ba20173b
3 changed files with 13 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue