SDL change to SDL_GLContext causes SDL3 backend build to fail #7696
adrian-purser
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A commit to SDL, "Use an opaque struct typedef for SDL_GLContext - Using a struct typedef instead of a void pointer results in extra C typechecks" causes the SDL3 backend to fail since it uses a void pointer.
I added a cast to line 1056 of imgui_impl_sdl3.cpp on a fork to allow me to continue -
vd->GLContext = (SDL_GLContext)sdl_gl_context;
Beta Was this translation helpful? Give feedback.
All reactions