From cf24d96c116b09505d71e426463b9889f8605d29 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 27 Oct 2013 15:10:09 -0400 Subject: [PATCH] delete OpenGL context --- source/app.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/app.d b/source/app.d index f5a19a0..d3a6123 100644 --- a/source/app.d +++ b/source/app.d @@ -32,6 +32,8 @@ int main() SDL_Delay(2000); + SDL_GL_DeleteContext(context); + SDL_DestroyWindow(window); SDL_Quit();