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

index fb31898db2d855c320be2aab78c6bb27be528e94..c5635a94ab64d9ddec3842ee81590f39ede7aea7 100644 (file)
@@ -481,6 +481,8 @@ static __GLXDRIscreen *dri2CreateScreen(__GLXscreenConfigs *psc, int screen,
     psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
     psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);
 
+    psc->driver_configs = driver_configs;
+
     psp->destroyScreen = dri2DestroyScreen;
     psp->createContext = dri2CreateContext;
     psp->createDrawable = dri2CreateDrawable;