[OPENGL32]

* use MakeCurrent(NULL, NULL) to unset the current context.

svn path=/trunk/; revision=56916
This commit is contained in:
Jérôme Gardou 2012-07-19 21:55:56 +00:00
parent 84d5a017bf
commit 1f4032c1e2

View 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 */