[MESA]
[reactos.git] / reactos / dll / opengl / mesa / src / mesa / main / state.h
index 5ab7d0e..3ab5aee 100644 (file)
@@ -42,10 +42,6 @@ extern void
 _mesa_set_varying_vp_inputs(struct gl_context *ctx, GLbitfield64 varying_inputs);
 
 
-extern void
-_mesa_set_vp_override(struct gl_context *ctx, GLboolean flag);
-
-
 /**
  * Is the secondary color needed?
  */
@@ -59,14 +55,6 @@ _mesa_need_secondary_color(const struct gl_context *ctx)
    if (ctx->Fog.ColorSumEnabled)
       return GL_TRUE;
 
-   if (ctx->VertexProgram._Current &&
-       (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_COLOR1))
-      return GL_TRUE;
-
-   if (ctx->FragmentProgram._Current &&
-       (ctx->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_COL1))
-      return GL_TRUE;
-
    return GL_FALSE;
 }