summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2003-07-24 03:18:44 +0000
committerKarl Schultz <[email protected]>2003-07-24 03:18:44 +0000
commit6b4716c63aeaec28ba488be971aa7d524133299c (patch)
treed0d1824a3ade819320e418b2466f0d19f90df690 /src
parent9c7b81697b2a381d7083e8e4c52f919f36ea9fa1 (diff)
Windows does not define HUGE_VAL, so use the IEEE hex constants.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/nvvertexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/nvvertexec.c b/src/mesa/main/nvvertexec.c
index 06f54ca909b..153172df472 100644
--- 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.
*/
-#ifdef 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)