summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-10-01 16:55:42 -0400
committerChia-I Wu <olvaffe@gmail.com>2010-12-09 20:01:34 -0500
commit017c563cff3b70a708deeffa3945f51f6a2f1151 (patch)
tree5fda55a03a6a842bdcfd1f25f03253caf11eef89 /src/gallium/drivers
parentbf21df37c65a959269180ebc215447e2e6bd38fc (diff)
android: Fix GL_OES_EGL_image with SurfaceFlinger.
Diffstat (limited to 'src/gallium/drivers')
-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 4258395063..3a09ee8b4f 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 & PIPE_FLUSH_TEXTURE_CACHE) {
+ if (1 || (flags & PIPE_FLUSH_TEXTURE_CACHE)) {
for (i = 0; i < softpipe->num_sampler_views; i++) {
sp_flush_tex_tile_cache(softpipe->tex_cache[i]);
}