From: RALOVICH, Kristóf Date: Thu, 23 Jul 2009 15:05:59 +0000 (+0200) Subject: glx: assign per screen driver configs (DRISW) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45f4e8842e3dae9d8be2a38769a57a524fdc335f;p=mesa.git glx: assign per screen driver configs (DRISW) --- diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c index 1c229dde900..15e15866582 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;