summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c3
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c1
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.h1
-rw-r--r--src/mesa/drivers/dri/i965/intel_pixel_copy.c1
4 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index eeba8e0a17..72ed7cdea3 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -346,8 +346,7 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx,
}
}
}
-
- intel->need_flush = GL_TRUE;
+
retval = GL_TRUE;
}
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index 0866c5ccc6..abcd6d5aab 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -746,7 +746,6 @@ static void intelContendedLock( struct intel_context *intel, GLuint flags )
intel->locked = 1;
- intel->need_flush = 1;
/* Lost context?
*/
diff --git a/src/mesa/drivers/dri/i965/intel_context.h b/src/mesa/drivers/dri/i965/intel_context.h
index 52fee68d1a..accb3069f0 100644
--- a/src/mesa/drivers/dri/i965/intel_context.h
+++ b/src/mesa/drivers/dri/i965/intel_context.h
@@ -176,7 +176,6 @@ struct intel_context
GLboolean no_rast;
GLboolean locked;
GLboolean strict_conformance;
- GLboolean need_flush;
/* State for intelvb.c and inteltris.c.
*/
diff --git a/src/mesa/drivers/dri/i965/intel_pixel_copy.c b/src/mesa/drivers/dri/i965/intel_pixel_copy.c
index 7583906dd0..70da03da09 100644
--- a/src/mesa/drivers/dri/i965/intel_pixel_copy.c
+++ b/src/mesa/drivers/dri/i965/intel_pixel_copy.c
@@ -315,7 +315,6 @@ do_blit_copypixels(GLcontext * ctx,
ctx->Color.LogicOp : GL_COPY);
}
- intel->need_flush = GL_TRUE;
out:
intel_batchbuffer_flush(intel->batch);
}