Mesa (master): glx: assign per screen driver configs (DRI)

Brian Paul brianp at kemper.freedesktop.org
Thu Jul 30 14:25:23 UTC 2009


Module: Mesa
Branch: master
Commit: d090ba9e00c7c7893109ae763385c2e0a66eb16f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d090ba9e00c7c7893109ae763385c2e0a66eb16f

Author: RALOVICH, Kristóf <tade60 at freemail.hu>
Date:   Thu Jul 23 17:05:50 2009 +0200

glx: assign per screen driver configs (DRI)

---

 src/glx/x11/dri_glx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index ac2eb05..d24471c 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.




More information about the mesa-commit mailing list