mesa: remove unused gl_program_parameter::Initialized
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 May 2017 10:06:48 +0000 (12:06 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 May 2017 19:08:21 +0000 (21:08 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/program/prog_parameter.c
src/mesa/program/prog_parameter.h

index 6689c71f24df1d6906f7c1b08d9e896c9afe8398..44e680c048c31223da2df0dcde0e9456f3f78b16 100644 (file)
@@ -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++)
index 320f64f3f5486b6c302a24c3ce9c6fd6766fde20..f50e99c8abef027ea53d0b76326e04c8c3853575 100644 (file)
@@ -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.
     */