diff options
author | Eric Anholt <eric@anholt.net> | 2008-01-09 12:41:14 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-01-09 14:41:39 -0800 |
commit | 7ce12b0863f1cc03bdd7c65c0c0733b2ff903e40 (patch) | |
tree | 8f98e719b998dd37cbdd1a4a46169dec8c4337b2 /src/mesa/drivers/dri/i965 | |
parent | 5a49e84fcd858a1ad9c0ad839ccbe93504593cd0 (diff) |
[intel] Remove the dead intel->need_flush member.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_pixel_copy.c | 1 |
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); } |