summaryrefslogtreecommitdiff
path: root/glx/singlepixswap.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-06-24 10:38:49 +1000
committerDave Airlie <airlied@redhat.com>2009-06-24 10:41:47 +1000
commit9d85b56078ec05da1369ca22930d8eb214c389db (patch)
tree08f4e6457f65cb316b259f937282dbe9ae358c09 /glx/singlepixswap.c
parente341512bfa40dd98853a20596dc65dcac4dcaa37 (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/singlepixswap.c')
-rw-r--r--glx/singlepixswap.c1
1 files changed, 1 insertions, 0 deletions
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;
}