aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 710fa8e6..b4d3769a 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -298,6 +298,8 @@ void SetMixerFPUMode(FPUCtl *ctl)
#ifdef HAVE_FENV_H
fegetenv(STATIC_CAST(fenv_t, ctl));
#if defined(__GNUC__) && defined(HAVE_SSE)
+ /* FIXME: Some fegetenv implementations can get the SSE environment too?
+ * How to tell when it does? */
if((CPUCapFlags&CPU_CAP_SSE))
__asm__ __volatile__("stmxcsr %0" : "=m" (*&ctl->sse_state));
#endif