python: Dont touch old pipe_winsys.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 30 Mar 2009 13:24:20 +0000 (14:24 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 30 Mar 2009 13:24:20 +0000 (14:24 +0100)
src/gallium/state_trackers/python/gallium.i
src/gallium/state_trackers/python/p_context.i

index 4970819190e988662393b3e543aaf982fce3e0b1..38f8245adf5e1eb8ce4b30b795bca9b633ef9d27 100644 (file)
@@ -42,7 +42,6 @@
 #include "pipe/p_context.h"
 #include "pipe/p_inlines.h"
 #include "pipe/p_shader_tokens.h"
-#include "pipe/internal/p_winsys_screen.h"
 #include "cso_cache/cso_context.h"
 #include "util/u_draw_quad.h"
 #include "util/u_tile.h"
index 05f3f222035f9c22b86889ecf5d28eb276b808f1..6dcd38e7d146d82331dbcbb5a6964cefdf8f2df3 100644 (file)
@@ -257,8 +257,8 @@ error1:
       struct pipe_fence_handle *fence = NULL; 
       $self->pipe->flush($self->pipe, flags | PIPE_FLUSH_RENDER_CACHE, &fence);
       /* TODO: allow asynchronous operation */ 
-      $self->pipe->winsys->fence_finish( $self->pipe->winsys, fence, 0 );
-      $self->pipe->winsys->fence_reference( $self->pipe->winsys, &fence, NULL );
+      $self->pipe->screen->fence_finish( $self->pipe->screen, fence, 0 );
+      $self->pipe->screen->fence_reference( $self->pipe->screen, &fence, NULL );
    }
 
    /*