From 6f0a1a842685a2b172187ece08113352c3765ce6 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 28 Aug 2009 12:32:04 +0200 Subject: st/xorg: Pass dri driver name as driverName on screen --- src/gallium/state_trackers/xorg/xorg_dri2.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/gallium/state_trackers/xorg/xorg_dri2.c') diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c index 3aea37a06f..c48fb30e7d 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; -- cgit v1.2.3