OSDN Git Service

mesa: s/TRUE/GL_TRUE
authorKeith Whitwell <keithw@vmware.com>
Thu, 2 Jul 2009 13:43:16 +0000 (14:43 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 2 Jul 2009 13:44:06 +0000 (14:44 +0100)
Fix compile breakage on Linux.

src/mesa/shader/arbprogparse.c

index f5053d3..0d4f13c 100644 (file)
@@ -3928,7 +3928,7 @@ _mesa_parse_arb_fragment_program(GLcontext* ctx, GLenum target,
     * coordinate in GLSL shaders.
     */
    if (program->Base.InputsRead & FRAG_BIT_FOGC)
-      program->UsesFogFragCoord = TRUE;
+      program->UsesFogFragCoord = GL_TRUE;
       
    if (program->Base.Instructions)
       _mesa_free(program->Base.Instructions);