Commit ac66ba34 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXglxext.c: rename and relocate variable

This change make the code more similar to upstream Xorg which helps when merging in changes from later Xorg releases.
parent fff0d547
......@@ -57,12 +57,11 @@
*/
static int __glXDispatch(ClientPtr client)
{
int result;
REQUEST(xGLXSingleReq);
CARD8 opcode;
int (*proc)(__GLXclientState *cl, GLbyte *pc);
__GLXclientState *cl;
int retval;
opcode = stuff->glxCode;
cl = __glXClients[client->index];
......@@ -124,7 +123,7 @@ static int __glXDispatch(ClientPtr client)
opcode, client -> index);
#endif
result = (*proc)(cl, (GLbyte *) stuff);
retval = (*proc)(cl, (GLbyte *) stuff);
nxagentGlxTrap = 0;
......@@ -133,5 +132,5 @@ static int __glXDispatch(ClientPtr client)
opcode, client -> index);
#endif
return result;
return retval;
}
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