Allow operating system SSE support test to be overridden with an
authorGareth Hughes <gareth@valinux.com>
Thu, 7 Dec 2000 02:36:38 +0000 (02:36 +0000)
committerGareth Hughes <gareth@valinux.com>
Thu, 7 Dec 2000 02:36:38 +0000 (02:36 +0000)
environment variable.

src/mesa/x86/common_x86.c

index e9612d91d3040b42d3e6883cf2dad5d435bcc53d..c6b307e640c36657b4844fc685b94e6d636c756d 100644 (file)
@@ -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 ) {