Hi,
I’m using SDL3 in combination with Dear ImGui on Windows and I get an assert whenever ImGui tries to create a new viewport. The assert is on this line: SDL/src/video/windows/SDL_windowswindow.c at c04624972ed63950ca9fb47931339a53d4416ee1 · libsdl-org/SDL · GitHub
Basically the function sets or removes WS_EX_LAYERED and sets an alpha value, but first it asserts that the current extended style is not 0. It seems this is not necessary? GWL_EXSTYLE set to 0 should be valid? Also if I ignore the assert, it just works. Before creating a pull request, I thought I’d ask here first Thanks!
1 Like