Skip to content

Windows & emscripten: Fix SDL3 build#3532

Open
Ghabry wants to merge 4 commits intoEasyRPG:masterfrom
Ghabry:sdl3-windows
Open

Windows & emscripten: Fix SDL3 build#3532
Ghabry wants to merge 4 commits intoEasyRPG:masterfrom
Ghabry:sdl3-windows

Conversation

@Ghabry
Copy link
Copy Markdown
Member

@Ghabry Ghabry commented Apr 7, 2026

Also the "disable rounding of windows" flag was lost when leaving fullscreen mode.

Fixed this also for SDL2

Also the "disable rounding of windows" flag was lost when leaving fullscreen mode.

Fixed this also for SDL2
@Ghabry Ghabry added this to the 0.8.2 milestone Apr 7, 2026
@Ghabry Ghabry added the Windows label Apr 7, 2026
Ghabry added 3 commits April 9, 2026 11:22
The saveFS is undefined and I have no idea why this ever worked. Probably emscripten being more strict now.
@Ghabry Ghabry changed the title Windows: Fix SDL3 build Windows & emscripten: Fix SDL3 build Apr 9, 2026
@Ghabry
Copy link
Copy Markdown
Member Author

Ghabry commented Apr 9, 2026

Also added some fixes for emscripten now. Though I would stick to SDL2 for now. SDL3 currently overwrites the canvas size with the one from SDL_CreateWindow (so you get a 320x240 canvas). I couldn't find a good way to workaround this and fullscreen is broken.

There is a pending PR which appears to improve this behaviour. So will likely be fixed with 3.6 libsdl-org/SDL#14690


The pre/post.js fixes are required by a new emscripten version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant