summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-11 12:06:48 +0200
committerSamuel Pitoiset <[email protected]>2017-05-11 21:08:21 +0200
commit7a37f5ade632b9b090daffe39faa1864a3c5755d (patch)
tree5419f9bf841836a35d735f85bcdc6a117e5058f8 /src/mesa
parent479e76bc1f6edd8f988ad003b6ffe43f96870a32 (diff)
mesa: remove unused gl_program_parameter::Initialized
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/program/prog_parameter.c1
-rw-r--r--src/mesa/program/prog_parameter.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/program/prog_parameter.c b/src/mesa/program/prog_parameter.c
index 6689c71f24d..44e680c048c 100644
--- a/src/mesa/program/prog_parameter.c
+++ b/src/mesa/program/prog_parameter.c
@@ -278,7 +278,6 @@ _mesa_add_parameter(struct gl_program_parameter_list *paramList,
}
}
values += 4;
- p->Initialized = GL_TRUE;
} else {
/* silence valgrind */
for (j = 0; j < 4; j++)
diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h
index 320f64f3f54..f50e99c8abe 100644
--- a/src/mesa/program/prog_parameter.h
+++ b/src/mesa/program/prog_parameter.h
@@ -69,7 +69,6 @@ struct gl_program_parameter
* The next program parameter's Size will be Size-4 of this parameter.
*/
GLuint Size;
- GLboolean Initialized; /**< debug: Has the ParameterValue[] been set? */
/**
* A sequence of STATE_* tokens and integers to identify GL state.
*/