summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-01-20 13:51:07 -0800
committerIan Romanick <[email protected]>2011-01-20 13:51:07 -0800
commit2fb0aebd4a248d2a0725099cd5646253c30c1dc3 (patch)
treecc48c3dedcd6a73e20dcb397e50ef4ce97e2a73b /src/mesa/drivers/dri/i915
parent790ff232e2607a83e6207d06900a5e3de613d161 (diff)
intel: Fix typeos from 3d028024 and 790ff232
...and remove egg from face.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
index 49ad7db2893..474252b640d 100644
--- a/src/mesa/drivers/dri/i915/i915_context.c
+++ b/src/mesa/drivers/dri/i915/i915_context.c
@@ -171,16 +171,16 @@ i915CreateContext(int api,
/* i915 stores all values in single-precision floats. Values aren't set
* for other program targets because software is used for those targets.
*/
- ctx->FragmentProgram.MediumFloat.RangeMin = 127;
- ctx->FragmentProgram.MediumFloat.RangeMax = 127;
- ctx->FragmentProgram.MediumFloat.Precision = 23;
- ctx->FragmentProgram.LowFloat = ctx->FragmentProgram.HighFloat =
- ctx->FragmentProgram.MediumFloat;
- ctx->FragmentProgram.MediumInt.RangeMin = 24;
- ctx->FragmentProgram.MediumInt.RangeMax = 24;
- ctx->FragmentProgram.MediumInt.Precision = 0;
- ctx->FragmentProgram.LowInt = ctx->FragmentProgram.HighInt =
- ctx->FragmentProgram.MediumInt;
+ ctx->Const.FragmentProgram.MediumFloat.RangeMin = 127;
+ ctx->Const.FragmentProgram.MediumFloat.RangeMax = 127;
+ ctx->Const.FragmentProgram.MediumFloat.Precision = 23;
+ ctx->Const.FragmentProgram.LowFloat = ctx->Const.FragmentProgram.HighFloat =
+ ctx->Const.FragmentProgram.MediumFloat;
+ ctx->Const.FragmentProgram.MediumInt.RangeMin = 24;
+ ctx->Const.FragmentProgram.MediumInt.RangeMax = 24;
+ ctx->Const.FragmentProgram.MediumInt.Precision = 0;
+ ctx->Const.FragmentProgram.LowInt = ctx->Const.FragmentProgram.HighInt =
+ ctx->Const.FragmentProgram.MediumInt;
ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE;