added FogOption to fragment_program struct

This commit is contained in:
Brian Paul 2004-02-17 04:25:24 +00:00
parent c2f6d6d092
commit 5cd79f9267
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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] */
};