diff options
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r-- | src/mesa/main/light.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index cfb53dc061c..042ed1cb858 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -1038,7 +1038,7 @@ update_modelview_scale( struct gl_context *ctx ) if (ctx->_NeedEyeCoords) ctx->_ModelViewInvScale = (GLfloat) INV_SQRTF(f); else - ctx->_ModelViewInvScale = (GLfloat) SQRTF(f); + ctx->_ModelViewInvScale = (GLfloat) sqrtf(f); } } |