projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: fix memory leak
[mesa.git]
/
src
/
mesa
/
tnl
/
t_rasterpos.c
diff --git
a/src/mesa/tnl/t_rasterpos.c
b/src/mesa/tnl/t_rasterpos.c
index 04fb1d8f8c2b5dc788540af3768dbd398cee22e4..f1fdddf0f5a4ff4103fff14b55735614a89dcb15 100644
(file)
--- a/
src/mesa/tnl/t_rasterpos.c
+++ b/
src/mesa/tnl/t_rasterpos.c
@@
-167,7
+167,7
@@
shade_rastpos(GLcontext *ctx,
light->QuadraticAttenuation));
if (light->_Flags & LIGHT_SPOT) {
- GLfloat PV_dot_dir = - DOT3(VP, light->_NormDirection);
+ GLfloat PV_dot_dir = - DOT3(VP, light->_Norm
Spot
Direction);
if (PV_dot_dir<light->_CosCutoff) {
continue;