mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 07:30:08 +01:00
GLX: note the implicit flushes with ReadPixels in indirect contexts.
This just notes the flush has occured when readpixels returns, and fixes the glean test.
This commit is contained in:
parent
e341512bfa
commit
9d85b56078
2 changed files with 2 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
|||
__GLX_SEND_HEADER();
|
||||
__GLX_SEND_VOID_ARRAY(compsize);
|
||||
}
|
||||
__GLX_NOTE_FLUSHED_CMDS(cx);
|
||||
return Success;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ int __glXDispSwap_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
|||
__GLX_SEND_HEADER();
|
||||
__GLX_SEND_VOID_ARRAY(compsize);
|
||||
}
|
||||
__GLX_NOTE_FLUSHED_CMDS(cx);
|
||||
return Success;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue