summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-10-01 16:55:42 -0400
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:39 +0800
commit39d10943012c2ba51cc12041faf6563eee7cb4a6 (patch)
tree267941192805939fccc6fc689f393be0daf2cde9 /src/gallium/drivers/softpipe
parentfb3c3f30792ed3831932ae81755b080e5aee6a1d (diff)
android: Fix GL_OES_EGL_image with SurfaceFlinger.
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_flush.c b/src/gallium/drivers/softpipe/sp_flush.c
index 720fea83cb..b7f283bf27 100644
--- a/src/gallium/drivers/softpipe/sp_flush.c
+++ b/src/gallium/drivers/softpipe/sp_flush.c
@@ -50,7 +50,7 @@ softpipe_flush( struct pipe_context *pipe,
draw_flush(softpipe->draw);
- if (flags & SP_FLUSH_TEXTURE_CACHE) {
+ if (1 || (flags & SP_FLUSH_TEXTURE_CACHE)) {
for (i = 0; i < softpipe->num_fragment_sampler_views; i++) {
sp_flush_tex_tile_cache(softpipe->fragment_tex_cache[i]);
}