diff options
author | Ian Romanick <[email protected]> | 2003-05-30 21:37:14 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2003-05-30 21:37:14 +0000 |
commit | 882caa18c6c551cbe60f205795b00a6a5361a986 (patch) | |
tree | fd8226be22109e848b87d2d7e9df909b2db16026 /src/mesa/main/context.c | |
parent | b2a4aecd806fc7b492534e329d029e002ff07d79 (diff) |
Added support for NV_light_max_exponent.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
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; |