summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-12 18:58:12 +0000
committerBrian Paul <[email protected]>2005-11-12 18:58:12 +0000
commit662fbf8a629d93ae210837fefc0765381bf0b708 (patch)
treea047c7363bb0e694a8ed5d7738f53a2917a7513d /src/mesa/main/light.h
parentba3da6154c324cc916845bc5de3de077d0b59ffc (diff)
Added _mesa_light() helper function so we can avoid transforming then
un-transforming light positions and spot directions when popping light state off the attribute stack.
Diffstat (limited to 'src/mesa/main/light.h')
-rw-r--r--src/mesa/main/light.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h
index 1f19019450f..f47fe58a839 100644
--- a/src/mesa/main/light.h
+++ b/src/mesa/main/light.h
@@ -78,6 +78,10 @@ extern void GLAPIENTRY
_mesa_GetMaterialiv( GLenum face, GLenum pname, GLint *params );
+extern void
+_mesa_light(GLcontext *ctx, GLuint lnum, GLenum pname, const GLfloat *params);
+
+
/* Lerp between adjacent values in the f(x) lookup table, giving a
* continuous function, with adequeate overall accuracy. (Though
* still pretty good compared to a straight lookup).