summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index de8456d3b7d..3aca054f79e 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -1265,20 +1265,6 @@ _mesa_init_default_imports(__GLimports *imports, void *driverCtx)
static GLboolean initialized = GL_FALSE;
if (!initialized) {
init_sqrt_table();
-
-#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
- {
- const char *debug = _mesa_getenv("MESA_DEBUG");
- if (debug && _mesa_strcmp(debug, "FP")==0) {
- /* die on FP exceptions */
- fpu_control_t mask;
- _FPU_GETCW(mask);
- mask &= ~(_FPU_MASK_IM | _FPU_MASK_DM | _FPU_MASK_ZM
- | _FPU_MASK_OM | _FPU_MASK_UM);
- _FPU_SETCW(mask);
- }
- }
-#endif
initialized = GL_TRUE;
}