Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com>

On 11/05/17 20:06, Samuel Pitoiset wrote:
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
---
  src/mesa/program/prog_parameter.c | 1 -
  src/mesa/program/prog_parameter.h | 1 -
  2 files changed, 2 deletions(-)

diff --git a/src/mesa/program/prog_parameter.c 
b/src/mesa/program/prog_parameter.c
index 6689c71f24..44e680c048 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 320f64f3f5..f50e99c8ab 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.
      */

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to