summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-25 16:50:56 -0600
committerBrian Paul <[email protected]>2008-04-29 18:35:30 -0600
commit62a29412b90008a247fd3b61f1b882df2e5e81c1 (patch)
tree62e3d2145b13e047743be31b28a6ccc9a2ad25dc /src/gallium/drivers/softpipe/sp_context.c
parent6fb40092261b891b78e504f453fddf041f9efac6 (diff)
gallium: test for new PIPE_ARCH_X86
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index f2ce0fdc6e9..edf91ecafa3 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -127,7 +127,7 @@ softpipe_create( struct pipe_screen *screen,
struct softpipe_context *softpipe = CALLOC_STRUCT(softpipe_context);
uint i;
-#if defined(__i386__) || defined(__386__)
+#ifdef PIPE_ARCH_X86
softpipe->use_sse = GETENV( "GALLIUM_NOSSE" ) == NULL;
#else
softpipe->use_sse = FALSE;