aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-04-07 18:28:56 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:53:27 +0200
commitaac78fd51f2f3929cddf3dc98f30c10d2b4f1f6a (patch)
tree1b09d5ebe65d94fdfd55e1dbaf7bd1a070a079e2 /nx-X11
parent66643feffe47b07a2daef780b3dd4c4a6ba61d01 (diff)
downloadnx-libs-aac78fd51f2f3929cddf3dc98f30c10d2b4f1f6a.tar.gz
nx-libs-aac78fd51f2f3929cddf3dc98f30c10d2b4f1f6a.tar.bz2
nx-libs-aac78fd51f2f3929cddf3dc98f30c10d2b4f1f6a.zip
hw/nxagent/NXglxext.c: fix missing opcode variable in TEST mode
also add soem whitespace fix
Diffstat (limited to 'nx-X11')
-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;