diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-19 23:29:18 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-19 23:29:18 +0000 |
commit | 55194df0350fe8bb1e684c1f9318b9a7e1a67c86 (patch) | |
tree | 5008ff3ac2a9845a22f5a787062bdcbd4cfc05ff /src | |
parent | 1353ebed811e69f38993c388caecc3c6a28e3030 (diff) |
remove incorrect cast
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/arbprogparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 7d2c6947bb..d847a81a59 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -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; |