summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/X86/common_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/X86/common_x86.c')
-rw-r--r--xc/extras/Mesa/src/X86/common_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/X86/common_x86.c b/xc/extras/Mesa/src/X86/common_x86.c
index 650111ec9..e9fa8d27e 100644
--- a/xc/extras/Mesa/src/X86/common_x86.c
+++ b/xc/extras/Mesa/src/X86/common_x86.c
@@ -258,7 +258,7 @@ void gl_init_all_x86_transform_asm( void )
#endif
#ifdef USE_KATMAI_ASM
- if ( cpu_has_xmm ) {
+ if ( cpu_has_xmm && getenv( "MESA_FORCE_KATMAI" ) == 0 ) {
check_os_katmai_support();
}
if ( cpu_has_xmm ) {