[OPENGL32]
authorJérôme Gardou <jerome.gardou@reactos.org>
Thu, 19 Jul 2012 21:55:56 +0000 (21:55 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Thu, 19 Jul 2012 21:55:56 +0000 (21:55 +0000)
 * use MakeCurrent(NULL, NULL) to unset the current context.

svn path=/trunk/; revision=56916

reactos/dll/win32/opengl32/wgl.c

index ccc83d1..613c2b2 100644 (file)
@@ -807,7 +807,7 @@ rosglDeleteContext( HGLRC hglrc )
             return FALSE;
         }
         /* Unset it before going further */
-        rosglMakeCurrent(glrc->hdc, NULL);
+        rosglMakeCurrent(NULL, NULL);
     }
 
     /* release ICD's context */