delete OpenGL context
This commit is contained in:
parent
6dddceb533
commit
cf24d96c11
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user