SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
Multiple OpenGL contexts bug on ANGLE?
vroad


Joined: 15 Oct 2015
Posts: 9
Reply with quote
Out of curiosity, I tried creating multiple OpenGL contexts and windows on ANGLE. Then I've found that it stops working with "OpenGL not initialized" error whenever I close one of windows.
It seems that SDL automatically unloads ANGLE libraries when one of OpenGL context is deleted. Test app works fine if I don't delete context.
but why is SDL handling cleanup in such a bad way? Maybe It's not tested with multiple contexts?

https://hg.libsdl.org/SDL/file/007dfe83abf8/src/video/windows/SDL_windowsopengles.c#l97
View user's profileSend private message
Multiple OpenGL contexts bug on ANGLE?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic