summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-09-14 22:28:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-09-14 22:28:27 +0000
commit765f1a12c6256282fe175ec92a0d01b45e4322c7 (patch)
tree0f338633fea0bcf7f84abecb201f83949602d87e /src/mesa/main/mtypes.h
parent8de924dbb0447579fa455c94a1e410c69e5ce4b5 (diff)
also fix possible delete bugs with buffer objects and vertex/fragment programs
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3e5c04415d..be6882f203 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1574,10 +1574,11 @@ struct program_parameter_list;
struct program
{
GLuint Id;
- GLubyte *String; /* Null-terminated program text */
- GLenum Target;
- GLenum Format; /* String encoding format */
+ GLubyte *String; /**< Null-terminated program text */
+ GLboolean DeletePending; /**< User called glDeletePrograms? */
GLint RefCount;
+ GLenum Target;
+ GLenum Format; /**< String encoding format */
GLboolean Resident;
GLfloat LocalParams[MAX_PROGRAM_LOCAL_PARAMS][4];
GLuint NumInstructions; /* GL_ARB_vertex/fragment_program */