diff options
author | Oliver McFadden <[email protected]> | 2007-05-25 13:59:15 +0000 |
---|---|---|
committer | Oliver McFadden <[email protected]> | 2007-05-25 13:59:15 +0000 |
commit | 8a6a5dc66008a006211ed0bb1ed4c5a17db4b323 (patch) | |
tree | 72bb8df12d3622bc9bd17dedcdb9b53a54397779 /src/mesa/drivers | |
parent | 00a9e4eb8cede0042e53275ddd3894cdeb6db742 (diff) |
r300: Use GL_TRUE rather than 1 for the GLboolean type.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_shader.c b/src/mesa/drivers/dri/r300/r300_shader.c index 59fe17ba10e..5f5ac7c4c71 100644 --- a/src/mesa/drivers/dri/r300/r300_shader.c +++ b/src/mesa/drivers/dri/r300/r300_shader.c @@ -54,6 +54,7 @@ r300ProgramStringNotify(GLcontext * ctx, GLenum target, struct gl_program *prog) fp->translated = GL_FALSE; break; } + /* need this for tcl fallbacks */ _tnl_program_string(ctx, target, prog); } @@ -61,7 +62,7 @@ r300ProgramStringNotify(GLcontext * ctx, GLenum target, struct gl_program *prog) static GLboolean r300IsProgramNative(GLcontext * ctx, GLenum target, struct gl_program *prog) { - return 1; + return GL_TRUE; } void r300InitShaderFuncs(struct dd_function_table *functions) |