summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 5497aac838..47cb19b625 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1445,16 +1445,7 @@ enum register_file
struct vp_instruction;
struct fp_instruction;
-
-/**
- * Named program parameters
- */
-struct program_parameter
-{
- const char *Name;
- GLfloat Values[4];
- GLboolean Constant;
-};
+struct program_parameter_list;
/**
@@ -1499,8 +1490,7 @@ struct fragment_program
GLuint NumAluInstructions; /**< GL_ARB_fragment_program */
GLuint NumTexInstructions;
GLuint NumTexIndirections;
- struct program_parameter *Parameters; /**< array [NumParameters] */
- GLuint NumParameters;
+ struct program_parameter_list *Parameters; /**< array [NumParameters] */
};