From: Marek Olšák Date: Tue, 29 Mar 2011 16:01:44 +0000 (+0200) Subject: intel: fix build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d41857566d900aee3319f06c272049e6211acc1;p=mesa.git intel: fix build broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5 (mesa: implement clamping controls (ARB_color_buffer_float)) --- 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; }