glx: assign per screen driver configs (DRI)
authorRALOVICH, Kristóf <tade60@freemail.hu>
Thu, 23 Jul 2009 15:05:50 +0000 (17:05 +0200)
committerBrian Paul <brianp@vmware.com>
Tue, 28 Jul 2009 16:35:56 +0000 (10:35 -0600)
src/glx/x11/dri_glx.c

index ac2eb05341afff07599c46173277e3e0b72133d9..d24471c43692224083cd0e9750fc704105095661 100644 (file)
@@ -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.