Commit 6e770378 authored by Mike Gabriel's avatar Mike Gabriel

Xserver/GL/glx/glxcmd.c: Fix uninitialized xGLXQueryVersionReply.

Fixes ArcticaProject/nx-libs#324.
parent 7011de15
......@@ -783,6 +783,8 @@ int __glXQueryVersion(__GLXclientState *cl, GLbyte *pc)
(void)major;
(void)minor;
memset(&reply, 0, sizeof(xGLXQueryVersionReply));
/*
** Server should take into consideration the version numbers sent by the
** client if it wants to work with older clients; however, in this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment