AnsweredAssumed Answered

SDL2 crashes when rendering in OpenGL

Question asked by consolepeasant92 on Jul 27, 2016

I am using SDL2 with OpenGL 3.3 and C++ to create some graphics.

However, sometimes the application crashes randomly without giving errors.

This has to do with the rendering I think, as it happened at this SDL call: "SDL_GL_SwapWindow"

This call is for a doublebuffered render using the OpenGL context.

The crash is completely random and no one could help me before with this problem, that'swhy I "suspect" my AMD driver.

I have a Radeon R7 370 and driver version 16.7.2

I hope someone can help me.

Outcomes