diff options
author | Ian Romanick <[email protected]> | 2011-04-15 18:46:43 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-04-21 17:33:24 -0700 |
commit | 8780c38983d9570004b4faed754f9d6a102cfb76 (patch) | |
tree | b78af1f14fe22ea42e3b89fc30915105090bafaf /src/mesa/drivers/dri | |
parent | f0188d4b08b84aa72c6d8148ca94e40d665c7b68 (diff) |
i965: gl_fragment_program::FogOption is always GL_NONE so don't check it
Reviewed-by: Eric Anholt <[email protected]>
Acked-by: Corbin Simpson <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index b5ec55b2ae3..6674f1640c8 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -134,11 +134,6 @@ static GLboolean brwProgramStringNotify( struct gl_context *ctx, brw_fragment_program_const(brw->fragment_program); struct gl_shader_program *shader_program; - if (fprog->FogOption) { - _mesa_append_fog_code(ctx, fprog, GL_TRUE); - fprog->FogOption = GL_NONE; - } - if (newFP == curFP) brw->state.dirty.brw |= BRW_NEW_FRAGMENT_PROGRAM; newFP->id = brw->program_id++; |