aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXglxext.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c b/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
index 199b4f53b..c632c8a6d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
@@ -57,6 +57,11 @@
*/
static int __glXDispatch(ClientPtr client)
{
+#ifdef TEST
+ REQUEST(xGLXSingleReq);
+ CARD8 opcode = stuff->glxCode;
+#endif
+
int retval;
/*
@@ -70,7 +75,7 @@ static int __glXDispatch(ClientPtr client)
fprintf(stderr, "__glXDispatch: Going to dispatch GLX operation [%d] for client [%d].\n",
opcode, client -> index);
#endif
-
+
retval = xorg__glXDispatch(client);
nxagentGlxTrap = False;