Merge commit 'origin/master' into gallium-sw-api-2
[mesa.git] / src / gallium / drivers / softpipe / sp_context.c
index e8f2318e488ee585da3c0f2e861db4db57ca7d91..30494719f7b9fa817e1dd3d241874eed834b4c4c 100644 (file)
@@ -210,7 +210,7 @@ softpipe_create_context( struct pipe_screen *screen,
    softpipe->dump_fs = debug_get_bool_option( "GALLIUM_DUMP_FS", FALSE );
    softpipe->dump_gs = debug_get_bool_option( "SOFTPIPE_DUMP_GS", FALSE );
 
-   softpipe->pipe.winsys = screen->winsys;
+   softpipe->pipe.winsys = NULL;
    softpipe->pipe.screen = screen;
    softpipe->pipe.destroy = softpipe_destroy;
    softpipe->pipe.priv = priv;