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:
Dave Airlie 2009-06-24 10:38:49 +10:00
parent e341512bfa
commit 9d85b56078
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}