Skip to content

SDL3: Make it the default, further Emscripten & Android fixes#3543

Draft
Ghabry wants to merge 11 commits intoEasyRPG:masterfrom
Ghabry:sdl3
Draft

SDL3: Make it the default, further Emscripten & Android fixes#3543
Ghabry wants to merge 11 commits intoEasyRPG:masterfrom
Ghabry:sdl3

Conversation

@Ghabry
Copy link
Copy Markdown
Member

@Ghabry Ghabry commented May 8, 2026

Draft as the Android fixes are missing cough - working on it.

Though already good enough for testing Emscripten and other platforms if anything breaks.

Ghabry added 11 commits May 8, 2026 17:20
Bump required version to 3.4.0.
That version added some features which will be required for the GPU renderer.
Guess they are not required anymore?
…iting it

This appears to be a regression (reported as SDL#15502)
Otherwise the Window is a blurry mess on 4k displays, at least on Linux
…wn which corrupts memory

This can happen when the system graphic is invalid, as ResetGameObjects will init the data structures again

Another issue with our fragile shutdown system :(
…s unncessary

There also seems to be a codegen bug. Invoking of some constructors on shutdown results in "function signature mismatch". This prevents the global constructors to be called at the end.

Manually invoke our onExit handler instead.

Removed the extern from main as this emitted a warning

Fix EasyRPG#3464
@Ghabry Ghabry added this to the 0.8.2 milestone May 8, 2026
@github-actions github-actions Bot added Building Emscripten WebAssembly/JavaScript port for web browsers Settings All about customizable features, storing and applying them labels May 8, 2026
@Ghabry Ghabry removed the Building label May 8, 2026
@Ghabry
Copy link
Copy Markdown
Member Author

Ghabry commented May 8, 2026

guess for the github runners I have to set them to SDL2.

Looking at repology the first Debian/Ubuntu with a new enough SDL3 (3.4) are Debian 14 and Ubuntu 26.04 😅

cfg.renderer.Lock("SDL3 (Software, Emscripten)");
#elif defined(__wii__)
cfg.renderer.Lock("SDL2 (Software, Wii)");
cfg.renderer.Lock("SDL3 (Software, Wii)");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the Wii (U) stuff here is not needed the next 10 years^^

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

Labels

Emscripten WebAssembly/JavaScript port for web browsers Settings All about customizable features, storing and applying them

Development

Successfully merging this pull request may close these issues.

2 participants