From 9d85b56078ec05da1369ca22930d8eb214c389db Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 24 Jun 2009 10:38:49 +1000 Subject: [PATCH] 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. --- glx/singlepix.c | 1 + glx/singlepixswap.c | 1 + 2 files changed, 2 insertions(+) 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; }