Mesa (master): glx: assign per screen driver configs (DRI2)
Brian Paul
brianp at kemper.freedesktop.org
Thu Jul 30 14:25:23 UTC 2009
Module: Mesa
Branch: master
Commit: 82f4dc21cc5bce9e64fd53d158f7162770e9b652
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82f4dc21cc5bce9e64fd53d158f7162770e9b652
Author: RALOVICH, Kristóf <tade60 at freemail.hu>
Date: Thu Jul 23 17:05:43 2009 +0200
glx: assign per screen driver configs (DRI2)
---
src/glx/x11/dri2_glx.c | 2 ++
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;
More information about the mesa-commit
mailing list