summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/light.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index d8cfd20bde..a6696b1e1a 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -1,4 +1,4 @@
-/* $Id: light.c,v 1.11 2000/01/13 00:29:02 brianp Exp $ */
+/* $Id: light.c,v 1.12 2000/01/31 23:33:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -43,6 +43,11 @@
#endif
+/* XXX this is a bit of a hack needed for compilation within XFree86 */
+#ifndef FLT_MIN
+#define FLT_MIN 1e-37
+#endif
+
void
_mesa_ShadeModel( GLenum mode )