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
|
@ -91,6 +91,7 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
||||||
__GLX_SEND_HEADER();
|
__GLX_SEND_HEADER();
|
||||||
__GLX_SEND_VOID_ARRAY(compsize);
|
__GLX_SEND_VOID_ARRAY(compsize);
|
||||||
}
|
}
|
||||||
|
__GLX_NOTE_FLUSHED_CMDS(cx);
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,7 @@ int __glXDispSwap_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
||||||
__GLX_SEND_HEADER();
|
__GLX_SEND_HEADER();
|
||||||
__GLX_SEND_VOID_ARRAY(compsize);
|
__GLX_SEND_VOID_ARRAY(compsize);
|
||||||
}
|
}
|
||||||
|
__GLX_NOTE_FLUSHED_CMDS(cx);
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user