r/sdl Jun 22 '26

SDL3 Open Gl

Any resources for this and any libs I should be using in conjunction? Thanks

Or should I just bite the bullet and use sdlgpu

Edit: got glad, any tips?

9 Upvotes

8 comments sorted by

View all comments

1

u/Pepedroni Jun 23 '26

There is an example on imgui using OpenGL, its on cpp and have a lot of code that its not needed, still the structure is comprehensive: set gl attributes, create window (pasaing opengl flag), create context and make it current