ws/xlib: fixup softpipe build
authorKeith Whitwell <keithw@vmware.com>
Mon, 8 Mar 2010 16:48:39 +0000 (16:48 +0000)
committerKeith Whitwell <keithw@vmware.com>
Mon, 8 Mar 2010 16:48:39 +0000 (16:48 +0000)
src/gallium/winsys/xlib/xlib_softpipe.c

index 9d665c3d833e823b44925a6abdb7e04bafb67045..3b51d7c17c4ffb08c526fc1581cac22111376e49 100644 (file)
@@ -30,7 +30,7 @@
 #include "xlib.h"
 #include "softpipe/sp_texture.h"
 #include "softpipe/sp_screen.h"
-#include "state_tracker/sw_winsys.h"
+#include "state_tracker/xlib_sw_winsys.h"
 #include "util/u_debug.h"
 
 static struct pipe_screen *
@@ -58,7 +58,7 @@ fail:
 
 
 static void
-xlib_softpipe_display_surface(struct xmesa_buffer *xm_buffer,
+xlib_softpipe_display_surface(struct xlib_drawable *xm_buffer,
                               struct pipe_surface *surf)
 {
    struct softpipe_texture *texture = softpipe_texture(surf->texture);