mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 02:21:15 +00:00
Set SDL window resizable to false for Emscripten
This commit is contained in:
parent
9de298af17
commit
ba4fd7c154
@ -16,6 +16,8 @@ extern MxS32 g_targetHeight;
|
||||
|
||||
void Emscripten_SetupWindow(SDL_Window* p_window)
|
||||
{
|
||||
SDL_SetWindowResizable(p_window, false);
|
||||
|
||||
EmscriptenFullscreenStrategy strategy;
|
||||
strategy.scaleMode = g_scaleAspect ? EMSCRIPTEN_FULLSCREEN_SCALE_ASPECT : EMSCRIPTEN_FULLSCREEN_SCALE_STRETCH;
|
||||
strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_HIDEF;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user