disable call to via_sse_memcpy() until it's fixed
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Jul 2005 23:13:46 +0000 (23:13 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Jul 2005 23:13:46 +0000 (23:13 +0000)
src/mesa/drivers/dri/unichrome/via_tex.c

index f628e089d337a2f67357e0c557dcf6fe85a938fb..fb048c05f86fe9891da62d9085b851a3c0b77cde 100644 (file)
@@ -948,7 +948,13 @@ void viaInitTextureFuncs(struct dd_function_table * functions)
    functions->DeleteTexture = _mesa_delete_texture_object;
    functions->FreeTexImageData = viaFreeTextureImageData;
 
-#if defined( USE_SSE_ASM )
+#if 0 && defined( USE_SSE_ASM )
+   /*
+    * XXX this code is disabled for now because the via_sse_memcpy()
+    * routine causes segfaults with flightgear.
+    * See Mesa3d-dev mail list messages from 7/15/2005 for details.
+    * Note that this function is currently disabled in via_tris.c too.
+    */
    if (getenv("VIA_NO_SSE"))
       functions->TextureMemCpy = _mesa_memcpy;
    else