delete OpenGL context
This commit is contained in:
1 parent
6dddceb533
commit
cf24d96c11
1 file changed
+2
@@ -32,6 +32,8 @@ int main()
|
|||||||
|
|
||||||
SDL_Delay(2000);
|
SDL_Delay(2000);
|
||||||
|
|
||||||
|
SDL_GL_DeleteContext(context);
|
||||||
|
|
||||||
SDL_DestroyWindow(window);
|
SDL_DestroyWindow(window);
|
||||||
|
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
|
|||||||
Reference in new issue
Block a user