1
0
mirror of synced 2025-01-10 21:41:53 +01:00

fix: Web build not starting fully anymore

This commit is contained in:
WerWolv 2024-12-28 22:48:06 +01:00
parent ec4ee3132b
commit f79de6fbe8

View File

@ -622,9 +622,12 @@ namespace hex {
#elif defined(OS_LINUX) #elif defined(OS_LINUX)
return 1.0F; return 1.0F;
#elif defined(OS_WEB) #elif defined(OS_WEB)
return 1.0F;
/*
return EM_ASM_INT({ return EM_ASM_INT({
return window.devicePixelRatio; return window.devicePixelRatio;
}); });
*/
#else #else
return 1.0F; return 1.0F;
#endif #endif