diff options
author | Dave Airlie <airlied@redhat.com> | 2009-06-24 10:38:49 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-06-24 10:41:47 +1000 |
commit | 9d85b56078ec05da1369ca22930d8eb214c389db (patch) | |
tree | 08f4e6457f65cb316b259f937282dbe9ae358c09 /glx | |
parent | e341512bfa40dd98853a20596dc65dcac4dcaa37 (diff) |
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.
Diffstat (limited to 'glx')
-rw-r--r-- | glx/singlepix.c | 1 | ||||
-rw-r--r-- | glx/singlepixswap.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/glx/singlepix.c b/glx/singlepix.c index 7b2cb4ca6..a0a6a7918 100644 --- a/glx/singlepix.c +++ b/glx/singlepix.c @@ -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; } diff --git a/glx/singlepixswap.c b/glx/singlepixswap.c index 143f2049a..a7febc9a6 100644 --- a/glx/singlepixswap.c +++ b/glx/singlepixswap.c @@ -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; } |