summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glx/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 8874e3bebf6..7b62be34415 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -1375,7 +1375,7 @@ glXImportContextEXT(Display *dpy, GLXContextID contextID)
struct glx_config *mode;
uint32_t fbconfigID = 0;
uint32_t visualID = 0;
- uint32_t screen;
+ uint32_t screen = 0;
Bool got_screen = False;
/* The GLX_EXT_import_context spec says: