mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
i965: gl_fragment_program::FogOption is always GL_NONE so don't check it
Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
f0188d4b08
commit
8780c38983
1 changed files with 0 additions and 5 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue