aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-03-29 18:01:44 +0200
committerMarek Olšák <[email protected]>2011-03-29 18:03:19 +0200
commit7d41857566d900aee3319f06c272049e6211acc1 (patch)
tree343094f52406e4053f4d37135d7c8bfb5465a394
parent7bae1c3d85344b7229e0124d1f54376392682430 (diff)
intel: fix build
broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5 (mesa: implement clamping controls (ARB_color_buffer_float))
-rw-r--r--src/mesa/drivers/dri/i915/i915_fragprog.c2
-rw-r--r--src/mesa/drivers/dri/i965/brw_program.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c
index 89de2a8b0d3..7286e2b73d8 100644
--- a/src/mesa/drivers/dri/i915/i915_fragprog.c
+++ b/src/mesa/drivers/dri/i915/i915_fragprog.c
@@ -1291,7 +1291,7 @@ i915ProgramStringNotify(struct gl_context * ctx,
*/
if (p->FragProg.FogOption) {
/* add extra instructions to do fog, then turn off FogOption field */
- _mesa_append_fog_code(ctx, &p->FragProg, TRUE);
+ _mesa_append_fog_code(ctx, &p->FragProg, GL_TRUE);
p->FragProg.FogOption = GL_NONE;
}
}
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c
index 2132b8210ba..b5ec55b2ae3 100644
--- a/src/mesa/drivers/dri/i965/brw_program.c
+++ b/src/mesa/drivers/dri/i965/brw_program.c
@@ -135,7 +135,7 @@ static GLboolean brwProgramStringNotify( struct gl_context *ctx,
struct gl_shader_program *shader_program;
if (fprog->FogOption) {
- _mesa_append_fog_code(ctx, fprog, TRUE);
+ _mesa_append_fog_code(ctx, fprog, GL_TRUE);
fprog->FogOption = GL_NONE;
}