mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 00:25:05 +00:00
[OPENGL32]
* use MakeCurrent(NULL, NULL) to unset the current context. svn path=/trunk/; revision=56916
This commit is contained in:
parent
84d5a017bf
commit
1f4032c1e2
|
@ -807,7 +807,7 @@ rosglDeleteContext( HGLRC hglrc )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
/* Unset it before going further */
|
/* Unset it before going further */
|
||||||
rosglMakeCurrent(glrc->hdc, NULL);
|
rosglMakeCurrent(NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* release ICD's context */
|
/* release ICD's context */
|
||||||
|
|
Loading…
Reference in a new issue