gallium: Allow draw module to work on non-x86 platforms again.
authorMichel Dänzer <michel@tungstengraphics.com>
Wed, 2 Jul 2008 10:10:15 +0000 (12:10 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Wed, 2 Jul 2008 10:10:15 +0000 (12:10 +0200)
src/gallium/auxiliary/draw/draw_vs.c

index 978954e91c979b99f78702bc3c6d8f10b54f21b1..f798b204929916cc933d940c742013092ff82881 100644 (file)
@@ -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;
 }