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 01:52:02 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-10 01:52:02 -0700
commitfdfde00cd8e1465a214062e38b715787919de6e5 (patch)
treeec754546d88eeaa772c1584b5517374c5af9dd51 /src/gallium/winsys/drm/radeon/core/radeon_drm.c
parent8dbe4f0c356edacf479ceed106f68fa79f1668ed (diff)
radeon-gallium: Unbreak RADEON_SOFTPIPE.
And there was much rejoicing.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/core/radeon_drm.c')
-rw-r--r--src/gallium/winsys/drm/radeon/core/radeon_drm.c2
1 files changed, 1 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 c712482a37..9387932a53 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
@@ -33,7 +33,7 @@
/* Create a pipe_screen. */
struct pipe_screen* radeon_create_screen(int drmFB, int pciID)
{
- struct pipe_winsys* winsys = radeon_pipe_winsys();
+ struct pipe_winsys* winsys = radeon_pipe_winsys(drmFB);
if (getenv("RADEON_SOFTPIPE")) {
return softpipe_create_screen(winsys);