Author: jgardou
Date: Thu Jul 19 21:55:56 2012
New Revision: 56916
URL:
http://svn.reactos.org/svn/reactos?rev=56916&view=rev
Log:
[OPENGL32]
* use MakeCurrent(NULL, NULL) to unset the current context.
Modified:
trunk/reactos/dll/win32/opengl32/wgl.c
Modified: trunk/reactos/dll/win32/opengl32/wgl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/opengl32/wgl.c?r…
==============================================================================
--- trunk/reactos/dll/win32/opengl32/wgl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/opengl32/wgl.c [iso-8859-1] Thu Jul 19 21:55:56 2012
@@ -807,7 +807,7 @@
return FALSE;
}
/* Unset it before going further */
- rosglMakeCurrent(glrc->hdc, NULL);
+ rosglMakeCurrent(NULL, NULL);
}
/* release ICD's context */