remove incorrect cast
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 19 Nov 2005 23:29:18 +0000 (23:29 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 19 Nov 2005 23:29:18 +0000 (23:29 +0000)
src/mesa/shader/arbprogparse.c

index 7d2c6947bb6d98a7832d8e76abc1d0d1b896018a..d847a81a59b6f41cdc460190865af62e4d83083f 100644 (file)
@@ -3914,7 +3914,7 @@ _mesa_parse_arb_program(GLcontext *ctx, GLenum target,
    }
 
    /* Set program_target register value */
-   if (set_reg8 (ctx, arbprogram_syn_id, (byte *) "program_target",
+   if (set_reg8 (ctx, arbprogram_syn_id, "program_target",
       program->Base.Target == GL_FRAGMENT_PROGRAM_ARB ? 0x10 : 0x20)) {
       grammar_destroy (arbprogram_syn_id);
       return GL_FALSE;