mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
glx: Xi: use return value of X_SEND_REPLY_SIMPLE()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5943ca5a1d
commit
809b0a7999
@@ -717,8 +717,7 @@ __glXDisp_IsDirect(__GLXclientState * cl, GLbyte * pc)
|
||||
.isDirect = glxc->isDirect
|
||||
};
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, reply);
|
||||
return Success;
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
int
|
||||
@@ -749,8 +748,7 @@ __glXDisp_QueryVersion(__GLXclientState * cl, GLbyte * pc)
|
||||
swapl(&reply.minorVersion);
|
||||
}
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, reply);
|
||||
return Success;
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -98,8 +98,7 @@ static int dispatch_GLXQueryVersion(ClientPtr client)
|
||||
reply.majorVersion = GlxCheckSwap(client, 1);
|
||||
reply.minorVersion = GlxCheckSwap(client, 4);
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, reply);
|
||||
return Success;
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
/* broken header workaround */
|
||||
@@ -254,8 +253,8 @@ static int CommonMakeCurrent(ClientPtr client,
|
||||
}
|
||||
|
||||
reply.contextTag = GlxCheckSwap(client, reply.contextTag);
|
||||
X_SEND_REPLY_SIMPLE(client, reply);
|
||||
return Success;
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
static int dispatch_GLXMakeCurrent(ClientPtr client)
|
||||
|
||||
Reference in New Issue
Block a user