projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d5a01
)
[OPENGL32]
author
Jérôme Gardou
<jerome.gardou@reactos.org>
Thu, 19 Jul 2012 21:55:56 +0000
(21:55 +0000)
committer
Jé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
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/opengl32/wgl.c
b/reactos/dll/win32/opengl32/wgl.c
index
ccc83d1
..
613c2b2
100644
(file)
--- 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 */