summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/radeon/core/radeon_drm.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-12-06 23:50:31 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-12-06 23:50:31 -0800
commite3a3ca097c1859c59daf99b722a788cd432b40dc (patch)
tree3343efcd3dbf5df96c2e5331c223afe30c47ec7e /src/gallium/winsys/drm/radeon/core/radeon_drm.c
parentd8d8b0d244d9abfd16f99de7f2f30c635033f66f (diff)
radeong: Call softpipe_create directly.
Allows us to finally remove radeon_winsys_softpipe.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/core/radeon_drm.c')
-rw-r--r--src/gallium/winsys/drm/radeon/core/radeon_drm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
index 5241972533..bc66b42fa7 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
@@ -29,6 +29,8 @@
* Joakim Sindholt <opensource@zhasha.com>
*/
+#include "softpipe/sp_winsys.h"
+
#include "radeon_drm.h"
/* Helper function to do the ioctls needed for setup and init. */
@@ -123,7 +125,7 @@ struct pipe_context* radeon_create_context(struct drm_api* api,
struct pipe_screen* screen)
{
if (debug_get_bool_option("RADEON_SOFTPIPE", FALSE)) {
- return radeon_create_softpipe(screen->winsys);
+ return softpipe_create(screen);
} else {
return r300_create_context(screen,
(struct radeon_winsys*)screen->winsys);