summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa
diff options
context:
space:
mode:
authorgareth <gareth>2000-12-07 02:37:15 +0000
committergareth <gareth>2000-12-07 02:37:15 +0000
commitdf383cb53ff84bb2cbfd4a8f5c5b10995e85824e (patch)
tree806572d6c6bcc2cdd14383d570d438f1deecb4a5 /xc/extras/Mesa
parentf39a5e6bbe25bb2b376471b551b4534598b8cae7 (diff)
Allow operating system SSE support test to be overridden with an
environment variable.
Diffstat (limited to 'xc/extras/Mesa')
-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 ) {