projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7b816
)
Windows does not define HUGE_VAL, so use the IEEE hex constants.
author
Karl Schultz
<kschultz@freedesktop.org>
Thu, 24 Jul 2003 03:18:44 +0000
(
03:18
+0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Thu, 24 Jul 2003 03:18:44 +0000
(
03:18
+0000)
src/mesa/main/nvvertexec.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/nvvertexec.c
b/src/mesa/main/nvvertexec.c
index 06f54ca909b5410fd829dee8c28a81650958a285..153172df4721e5e50f4e177b6c9f9003915eb3cd 100644
(file)
--- a/
src/mesa/main/nvvertexec.c
+++ b/
src/mesa/main/nvvertexec.c
@@
-309,7
+309,7
@@
store_vector4( const struct vp_dst_register *dest, struct vp_machine *machine,
/**
* Set x to positive or negative infinity.
*/
-#if
def USE_IEEE
+#if
defined(USE_IEEE) || defined(_WIN32)
#define SET_POS_INFINITY(x) ( *((GLuint *) &x) = 0x7F800000 )
#define SET_NEG_INFINITY(x) ( *((GLuint *) &x) = 0xFF800000 )
#elif defined(VMS)