summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-06 16:17:26 -0600
committerBrian <[email protected]>2007-08-06 16:17:26 -0600
commitb1ad6289f83ce5c91da2ebc64d07506c25efa7e2 (patch)
treedcab9287963582da61b920537489806c22da73b5 /src/mesa
parenta96d20eac81964cae98202c18e8368f04ec213d3 (diff)
use new xmesa_create_softpipe()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/xm_api.c3
-rw-r--r--src/mesa/drivers/x11/xmesaP.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 7fb99df5f4c..6fbbb94f0f7 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1572,7 +1572,8 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
st_create_context( mesaCtx,
- softpipe_create() );
+ xmesa_create_softpipe( c ) );
+
mesaCtx->Driver.Clear = xmesa_clear_buffers;
/*
mesaCtx->st->pipe->clear = xmesa_clear;
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index dd95aed4d06..99c87da3c57 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -598,5 +598,8 @@ xmesa_clear(struct pipe_context *pipe, struct pipe_surface *ps, GLuint value);
extern void
xmesa_clear_buffers(GLcontext *ctx, GLbitfield buffers);
+extern struct pipe_context *
+xmesa_create_softpipe(XMesaContext xm);
+
#endif