summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2008-07-02 12:10:15 +0200
committerMichel Dänzer <[email protected]>2008-07-02 12:10:15 +0200
commitcc31eecbcb90dabacabac3e6be7c01cfe3a7a2a6 (patch)
tree30f2f624b7b8944531cf8463589b3d1952b7da46 /src
parentd16fcd07f876fe7fb29f5f4e3df4e83ff7de3422 (diff)
gallium: Allow draw module to work on non-x86 platforms again.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.c b/src/gallium/auxiliary/draw/draw_vs.c
index 978954e91c9..f798b204929 100644
--- a/src/gallium/auxiliary/draw/draw_vs.c
+++ b/src/gallium/auxiliary/draw/draw_vs.c
@@ -160,8 +160,10 @@ draw_vs_init( struct draw_context *draw )
return FALSE;
draw->vs.aos_machine = draw_vs_aos_machine();
+#ifdef PIPE_ARCH_X86
if (!draw->vs.aos_machine)
return FALSE;
+#endif
return TRUE;
}