added FogOption to fragment_program struct
This commit is contained in:
parent
c2f6d6d092
commit
5cd79f9267
|
@ -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)
|
||||
|
|
|
@ -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] */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue