summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2009-07-23 17:05:59 +0200
committerBrian Paul <brianp@vmware.com>2009-07-28 10:35:56 -0600
commit45f4e8842e3dae9d8be2a38769a57a524fdc335f (patch)
treec001ab8bb6e1e1fa671ea018e43af173bb40262a
parentd090ba9e00c7c7893109ae763385c2e0a66eb16f (diff)
glx: assign per screen driver configs (DRISW)
-rw-r--r--src/glx/x11/drisw_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c
index 1c229dde90..15e1586658 100644
--- a/src/glx/x11/drisw_glx.c
+++ b/src/glx/x11/drisw_glx.c
@@ -401,7 +401,7 @@ driCreateScreen(__GLXscreenConfigs * psc, int screen,
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);
- free(driver_configs);
+ psc->driver_configs = driver_configs;
psp->destroyScreen = driDestroyScreen;
psp->createContext = driCreateContext;