Module: Mesa
Branch: master
Commit: 43076a55c2c914a619b8b3a3f93e15a7eee6d2ad
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=43076a55c2c914a619b8b3a3f93e15a7eee6d2ad

Author: Roland Scheidegger <[email protected]>
Date:   Thu Aug  8 19:08:57 2013 +0200

util: (trivial) fix compile error with MSVC on x86

---

 src/gallium/auxiliary/util/u_cpu_detect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c 
b/src/gallium/auxiliary/util/u_cpu_detect.c
index c58a3dd..8567012 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -246,7 +246,7 @@ static INLINE boolean sse2_has_daz(void)
 #if (defined(PIPE_CC_GCC) || defined(PIPE_CC_SUNPRO))
    asm volatile ("fxsave %0" :: "m" (fxarea));
 #elif (defined(PIPE_CC_MSVC) || defined(PIPE_CC_ICL))
-   _fxsave(fxarea);
+   _fxsave(&fxarea);
 #endif
    return !!(fxarea.mxcsr_mask & (1 << 6));
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to