summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2009-07-23 17:05:43 +0200
committerBrian Paul <brianp@vmware.com>2009-07-28 10:35:56 -0600
commit82f4dc21cc5bce9e64fd53d158f7162770e9b652 (patch)
tree8af03ea68eddf52d3f29c08fbb6ddddc49ad9449 /src/glx
parente32b601e7d79e8fa67b3e9f636125eebc01f3884 (diff)
downloadexternal_mesa3d-82f4dc21cc5bce9e64fd53d158f7162770e9b652.zip
external_mesa3d-82f4dc21cc5bce9e64fd53d158f7162770e9b652.tar.gz
external_mesa3d-82f4dc21cc5bce9e64fd53d158f7162770e9b652.tar.bz2
glx: assign per screen driver configs (DRI2)
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/dri2_glx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/dri2_glx.c b/src/glx/x11/dri2_glx.c
index fb31898..c5635a9 100644
--- a/src/glx/x11/dri2_glx.c
+++ b/src/glx/x11/dri2_glx.c
@@ -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;