mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
Windows does not define HUGE_VAL, so use the IEEE hex constants.
This commit is contained in:
parent
9c7b81697b
commit
6b4716c63a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue