projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f88c7
)
st/mesa: call st_flush_bitmap_cache() from st_readpixels()
author
Brian Paul
<brianp@vmware.com>
Mon, 17 May 2010 18:43:25 +0000
(12:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 17 May 2010 18:43:50 +0000
(12:43 -0600)
Fixes regression from commit
b0427bedde80e3189524651a327235bdfddbc613
.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_readpixels.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_readpixels.c
b/src/mesa/state_tracker/st_cb_readpixels.c
index 12d3c99a3517b75cadd39675e42e9392f28ca77e..b8493dab93f0ad02fcc0b7c635fb59c08a9586c3 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_readpixels.c
+++ b/
src/mesa/state_tracker/st_cb_readpixels.c
@@
-46,6
+46,7
@@
#include "st_debug.h"
#include "st_context.h"
#include "st_atom.h"
+#include "st_cb_bitmap.h"
#include "st_cb_readpixels.h"
#include "st_cb_fbo.h"
@@
-344,6
+345,8
@@
st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
return;
}
+ st_flush_bitmap_cache(st);
+
dest = _mesa_map_pbo_dest(ctx, &clippedPacking, dest);
if (!dest)
return;