From: Gareth Hughes Date: Thu, 7 Dec 2000 02:36:38 +0000 (+0000) Subject: Allow operating system SSE support test to be overridden with an X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab9e273c75e2d752e5027f7790480120c672ce01;p=mesa.git Allow operating system SSE support test to be overridden with an environment variable. --- diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c index e9612d91d30..c6b307e640c 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 ) {