Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: third_party/mesa/MesaLib/src/mesa/main/debug.c

Issue 10825442: Fix the compile errors for mesa on Android (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/mesa/MesaLib/src/mesa/main/compiler.h ('k') | third_party/mesa/MesaLib/src/mesa/main/imports.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/MesaLib/src/mesa/main/debug.c
diff --git a/third_party/mesa/MesaLib/src/mesa/main/debug.c b/third_party/mesa/MesaLib/src/mesa/main/debug.c
index 526145aeccfe90f82fe04cb8b155d28f3b97f867..bcbd8379b4821fbb37fdf74818ed4543fd61abe5 100644
--- a/third_party/mesa/MesaLib/src/mesa/main/debug.c
+++ b/third_party/mesa/MesaLib/src/mesa/main/debug.c
@@ -216,17 +216,6 @@ static void add_debug_flags( const char *debug )
if (strstr(debug, "flush"))
MESA_DEBUG_FLAGS |= DEBUG_ALWAYS_FLUSH;
-#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
- if (strstr(debug, "fpexceptions")) {
- /* raise 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
-
#else
(void) debug;
#endif
« no previous file with comments | « third_party/mesa/MesaLib/src/mesa/main/compiler.h ('k') | third_party/mesa/MesaLib/src/mesa/main/imports.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698