diff options
-rw-r--r-- | src/mesa/main/arbfragparse.c | 1 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/arbfragparse.c b/src/mesa/main/arbfragparse.c index 0443862020a..bce8732f252 100644 --- a/src/mesa/main/arbfragparse.c +++ b/src/mesa/main/arbfragparse.c @@ -206,6 +206,7 @@ _mesa_parse_arb_fragment_program(GLcontext * ctx, GLenum target, program->NumTexInstructions = ap.NumTexInstructions; program->NumTexIndirections = ap.NumTexIndirections; program->Parameters = ap.Parameters; + program->FogOption = ap.FogOption; /* XXX: Parse error. Cleanup things and return */ if (retval) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index a8f0edba8b6..508a363f16b 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1571,6 +1571,7 @@ struct fragment_program GLuint NumAluInstructions; /**< GL_ARB_fragment_program */ GLuint NumTexInstructions; GLuint NumTexIndirections; + GLenum FogOption; struct program_parameter_list *Parameters; /**< array [NumParameters] */ }; |