summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/radeon/core/radeon_drm.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-10 02:08:59 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-10 02:08:59 -0700
commit42fc3d3fa9d7c4a9fe7e15b9ddecfd816a12f1bc (patch)
tree38ad53ae9601e9259ea5ba9c49458afd5b641730 /src/gallium/winsys/drm/radeon/core/radeon_drm.c
parentd559796d6f13579ecf921a63d9f0c6c6342dc230 (diff)
radeon-gallium: Unbreak non-RADEON_SOFTPIPE.
Hehe, sleep may be necessary now.
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, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
index 9387932a53..3446654e28 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
@@ -33,10 +33,10 @@
/* Create a pipe_screen. */
struct pipe_screen* radeon_create_screen(int drmFB, int pciID)
{
- struct pipe_winsys* winsys = radeon_pipe_winsys(drmFB);
+ struct radeon_winsys* winsys = radeon_pipe_winsys(drmFB);
if (getenv("RADEON_SOFTPIPE")) {
- return softpipe_create_screen(winsys);
+ return softpipe_create_screen((struct pipe_winsys*)winsys);
} else {
struct r300_winsys* r300 = radeon_create_r300_winsys(drmFB, winsys);
FREE(winsys);