aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-18 15:24:20 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:15 +0200
commitb7169bdcaf320e219dec23e79882176bc4b69d4c (patch)
tree5a396d0023d036ecbcdb330f9cef516090b85f6a /nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
parent6d96798865838744966b897bca6cc2db2d6cfaff (diff)
downloadnx-libs-b7169bdcaf320e219dec23e79882176bc4b69d4c.tar.gz
nx-libs-b7169bdcaf320e219dec23e79882176bc4b69d4c.tar.bz2
nx-libs-b7169bdcaf320e219dec23e79882176bc4b69d4c.zip
nxagent: make all traps Booleans
and use True/False instead of 1/0
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXglxext.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXglxext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c b/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
index 7af295eac..6149ad27d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXglxext.c
@@ -64,7 +64,7 @@ static int __glXDispatch(ClientPtr client)
* dispatching a GLX operation.
*/
- nxagentGlxTrap = 1;
+ nxagentGlxTrap = True;
#ifdef TEST
fprintf(stderr, "__glXDispatch: Going to dispatch GLX operation [%d] for client [%d].\n",
@@ -73,7 +73,7 @@ static int __glXDispatch(ClientPtr client)
retval = xorg__glXDispatch(client);
- nxagentGlxTrap = 0;
+ nxagentGlxTrap = False;
#ifdef TEST
fprintf(stderr, "__glXDispatch: Dispatched GLX operation [%d] for client [%d].\n",