From 1f4032c1e28d8168ccbdf2174f3bcc04f7c2bdaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Thu, 19 Jul 2012 21:55:56 +0000 Subject: [PATCH] [OPENGL32] * use MakeCurrent(NULL, NULL) to unset the current context. svn path=/trunk/; revision=56916 --- reactos/dll/win32/opengl32/wgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/opengl32/wgl.c b/reactos/dll/win32/opengl32/wgl.c index ccc83d1b22b..613c2b216f9 100644 --- a/reactos/dll/win32/opengl32/wgl.c +++ b/reactos/dll/win32/opengl32/wgl.c @@ -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 */