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

index 1c229dde90034b5a14d6a0455cdcd5c1cffb8135..15e15866582c18f84b6db0b07ddaa84d25df1d61 100644 (file)
@@ -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;