summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-08-28 12:32:04 +0200
committerJakob Bornecrantz <[email protected]>2009-08-28 12:36:42 +0200
commit6f0a1a842685a2b172187ece08113352c3765ce6 (patch)
treea39fa425106ba1c5b0b14f0499db5cda01053b04 /src/gallium/state_trackers
parent205d344e2a2f0c9ea982b037ab68feab06cbebb1 (diff)
st/xorg: Pass dri driver name as driverName on screen
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_dri2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c
index 3aea37a06fb..c48fb30e7d5 100644
--- a/src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/src/gallium/state_trackers/xorg/xorg_dri2.c
@@ -279,11 +279,8 @@ driScreenInit(ScreenPtr pScreen)
dri2info.version = 1;
dri2info.fd = ms->fd;
-#if 0
- dri2info.driverName = pScrn->name;
-#else
- dri2info.driverName = "i915"; /* FIXME */
-#endif
+
+ dri2info.driverName = pScrn->driverName;
dri2info.deviceName = "/dev/dri/card0"; /* FIXME */
dri2info.CreateBuffers = driCreateBuffers;