summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/xm_winsys.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-27 09:47:46 -0700
committerBrian <[email protected]>2008-02-27 09:47:46 -0700
commit4f36cf5858a7e53181c3578685675e15fbfcbb82 (patch)
tree5067a58e3f441b3028a9526d9eb9ace76445c739 /src/gallium/winsys/xlib/xm_winsys.c
parentef6c82b0c13573df1aab7acd6f4f9ef9076f421f (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.c3
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;