diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-04-07 18:28:56 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-05-11 18:53:27 +0200 |
commit | aac78fd51f2f3929cddf3dc98f30c10d2b4f1f6a (patch) | |
tree | 1b09d5ebe65d94fdfd55e1dbaf7bd1a070a079e2 /nx-X11/programs/Xserver/hw/nxagent | |
parent | 66643feffe47b07a2daef780b3dd4c4a6ba61d01 (diff) | |
download | nx-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/programs/Xserver/hw/nxagent')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXglxext.c | 7 |
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; |