kapp
kapp copied to clipboard
SDL backend can't create GL contexts on all of its supported platforms.
There needs to be a way to use SDL to create OpenGL contexts. Unfortunately that requires passing in an SDLWindow pointer to SDL. Presently kapp's GL context creation accepts RawWindowHandle
which cannot store the SDLWindow pointer, so some other mechanism for passing around that pointer is needed.
Perhaps this indicates that GL context creation should be rolled into kapp
directly to allow it more control? The advantages gained by a separate GL context creation crate are rather small.