llvmpipe: Remove dead references to pipe_winsys.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 13 Sep 2009 15:13:12 +0000 (16:13 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 13 Sep 2009 15:13:12 +0000 (16:13 +0100)
src/gallium/drivers/llvmpipe/lp_screen.c

index 125035771e52dc3d7c867684582e3986963e1e54..0ce1a37bd47c997e01579a2e2da755ab8d09166d 100644 (file)
@@ -27,8 +27,6 @@
 
 
 #include "util/u_memory.h"
-#include "util/u_simple_screen.h"
-#include "pipe/internal/p_winsys_screen.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
 
@@ -196,8 +194,7 @@ static void
 llvmpipe_destroy_screen( struct pipe_screen *_screen )
 {
    struct llvmpipe_screen *screen = llvmpipe_screen(_screen);
-
-   struct pipe_winsys *winsys = _screen->winsys;
+   struct llvmpipe_winsys *winsys = screen->winsys;
 
    lp_jit_screen_cleanup(screen);