mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
glx: Fix error generation for non-reply vendor private requests
Discarding the return value here is just wrong. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -873,8 +873,7 @@ __glXDispSwap_VendorPrivate(__GLXclientState * cl, GLbyte * pc)
|
||||
__glXGetProtocolDecodeFunction(&VendorPriv_dispatch_info,
|
||||
vendorcode, 1);
|
||||
if (proc != NULL) {
|
||||
(*proc) (cl, (GLbyte *) req);
|
||||
return Success;
|
||||
return (*proc) (cl, (GLbyte *) req);
|
||||
}
|
||||
|
||||
cl->client->errorValue = req->vendorCode;
|
||||
|
||||
Reference in New Issue
Block a user