track state flags which might invalidate parameter lists

This commit is contained in:
Keith Whitwell
2005-11-22 12:12:17 +00:00
parent 5a771857d9
commit ec1ffd9f25
2 changed files with 80 additions and 0 deletions

View File

@@ -204,6 +204,9 @@ struct program_parameter_list
GLuint NumParameters; /** number of parameters in arrays */
struct program_parameter *Parameters; /** Array [Size] */
GLfloat (*ParameterValues)[4]; /** Array [Size] */
GLuint StateFlags; /** _NEW_* flags indicating which
statechanges might invalidate
ParameterValues[] */
};