summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2000-12-07 02:36:38 +0000
committerGareth Hughes <gareth@valinux.com>2000-12-07 02:36:38 +0000
commitab9e273c75e2d752e5027f7790480120c672ce01 (patch)
treed2e465bb3bb8c18b082acc485f68ce7298f3dab0
parent2ac44e2509dff861d50239d3248c60bf08f3ed92 (diff)
Allow operating system SSE support test to be overridden with an
environment variable.
-rw-r--r--src/mesa/x86/common_x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c
index e9612d91d3..c6b307e640 100644
--- a/src/mesa/x86/common_x86.c
+++ b/src/mesa/x86/common_x86.c
@@ -1,4 +1,4 @@
-/* $Id: common_x86.c,v 1.8 2000/12/06 14:41:47 gareth Exp $ */
+/* $Id: common_x86.c,v 1.9 2000/12/07 02:36:38 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -259,7 +259,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 ) {