projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9560f05
)
defined FLT_MIN if undefined
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 31 Jan 2000 23:33:53 +0000
(23:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 31 Jan 2000 23:33:53 +0000
(23:33 +0000)
src/mesa/main/light.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/light.c
b/src/mesa/main/light.c
index d8cfd20bde8067143d91cb5158b9302311d1adcb..a6696b1e1ae9d4b7d08237026624b3b41f2cce99 100644
(file)
--- a/
src/mesa/main/light.c
+++ b/
src/mesa/main/light.c
@@
-1,4
+1,4
@@
-/* $Id: light.c,v 1.1
1 2000/01/13 00:29:02
brianp Exp $ */
+/* $Id: light.c,v 1.1
2 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 )