projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a29907
)
glut: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 10:04:17 +0000
(
02:04
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 10:04:17 +0000
(
02:04
-0800)
src/glut/glx/glut_overlay.c
patch
|
blob
|
history
diff --git
a/src/glut/glx/glut_overlay.c
b/src/glut/glx/glut_overlay.c
index db1abe005d83062e3817c2999e33fbcd19634a47..32434650ebedca96fbcff8d42c935e9c95f5aa53 100644
(file)
--- a/
src/glut/glx/glut_overlay.c
+++ b/
src/glut/glx/glut_overlay.c
@@
-388,6
+388,7
@@
glutEstablishOverlay(void)
if (!overlay->vis) {
__glutFatalError("lacks overlay support.");
}
+ overlay->ctx = NULL;
#if defined(GLX_VERSION_1_1) && defined(GLX_SGIX_fbconfig)
if (fbc) {
window->ctx = __glut_glXCreateContextWithConfigSGIX(__glutDisplay, fbc,