diff options
author | Brian <[email protected]> | 2008-02-27 09:47:46 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-27 09:47:46 -0700 |
commit | 4f36cf5858a7e53181c3578685675e15fbfcbb82 (patch) | |
tree | 5067a58e3f441b3028a9526d9eb9ace76445c739 /src/gallium/winsys/xlib/xm_winsys.c | |
parent | ef6c82b0c13573df1aab7acd6f4f9ef9076f421f (diff) |
gallium: implement pipe_screen for softpipe driver
Diffstat (limited to 'src/gallium/winsys/xlib/xm_winsys.c')
-rw-r--r-- | src/gallium/winsys/xlib/xm_winsys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/xlib/xm_winsys.c b/src/gallium/winsys/xlib/xm_winsys.c index 8da596d419e..adebe4020a1 100644 --- a/src/gallium/winsys/xlib/xm_winsys.c +++ b/src/gallium/winsys/xlib/xm_winsys.c @@ -457,7 +457,8 @@ xmesa_create_pipe_context(XMesaContext xmesa, uint pixelformat) #endif { struct softpipe_winsys *spws = xmesa_get_softpipe_winsys(pixelformat); - pipe = softpipe_create( pws, spws ); + struct pipe_screen *screen = softpipe_create_screen(pws); + pipe = softpipe_create( screen, pws, spws ); if (pipe) pipe->priv = xmesa; |