aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2003-05-30 21:37:14 +0000
committerIan Romanick <[email protected]>2003-05-30 21:37:14 +0000
commit882caa18c6c551cbe60f205795b00a6a5361a986 (patch)
treefd8226be22109e848b87d2d7e9df909b2db16026 /src/mesa/main/context.c
parentb2a4aecd806fc7b492534e329d029e002ff07d79 (diff)
Added support for NV_light_max_exponent.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 1101045afd3..798308a8751 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -988,6 +988,8 @@ init_attrib_groups( GLcontext *ctx )
ctx->Const.MaxConvolutionHeight = MAX_CONVOLUTION_HEIGHT;
ctx->Const.MaxClipPlanes = MAX_CLIP_PLANES;
ctx->Const.MaxLights = MAX_LIGHTS;
+ ctx->Const.MaxSpotExponent = 128.0;
+ ctx->Const.MaxShininess = 128.0;
#if FEATURE_ARB_vertex_program
ctx->Const.MaxVertexProgramInstructions = MAX_NV_VERTEX_PROGRAM_INSTRUCTIONS;
ctx->Const.MaxVertexProgramAttribs = MAX_NV_VERTEX_PROGRAM_INPUTS;