Module: Mesa
Branch: master
Commit: 45f4e8842e3dae9d8be2a38769a57a524fdc335f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=45f4e8842e3dae9d8be2a38769a57a524fdc335f

Author: RALOVICH, Kristóf <tad...@freemail.hu>
Date:   Thu Jul 23 17:05:59 2009 +0200

glx: assign per screen driver configs (DRISW)

---

 src/glx/x11/drisw_glx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c
index 1c229dd..15e1586 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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to