From ab9e273c75e2d752e5027f7790480120c672ce01 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Thu, 7 Dec 2000 02:36:38 +0000 Subject: Allow operating system SSE support test to be overridden with an environment variable. --- src/mesa/x86/common_x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/x86') 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 ) { -- cgit v1.2.3