summaryrefslogtreecommitdiff
path: root/src/glx/x11
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2009-07-23 17:05:50 +0200
committerBrian Paul <brianp@vmware.com>2009-07-28 10:35:56 -0600
commitd090ba9e00c7c7893109ae763385c2e0a66eb16f (patch)
tree8a7e98dab9853741429cda8974b8353ddb17d373 /src/glx/x11
parent82f4dc21cc5bce9e64fd53d158f7162770e9b652 (diff)
glx: assign per screen driver configs (DRI)
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/dri_glx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index ac2eb05341..d24471c436 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -418,6 +418,8 @@ CallCreateNewScreen(Display *dpy, int scrn, __GLXscreenConfigs *psc,
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);
+ psc->driver_configs = driver_configs;
+
/* Visuals with depth != screen depth are subject to automatic compositing
* in the X server, so DRI1 can't render to them properly. Mark them as
* non-conformant to prevent apps from picking them up accidentally.