From 7d512f204af7e2706ab4b2c681e520f28f6a4700 Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Wed, 7 Dec 2005 21:22:49 +0000 Subject: 2005-12-07 Vladimir Vukicevic * src/agl/glitz_wgl_drawable.c: Add program_map_init after fini in drawable_destroy (same as changes to glx/agl code). --- ChangeLog | 5 +++++ src/wgl/glitz_wgl_drawable.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b5ce22f..f41d037 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-07 Vladimir Vukicevic + + * src/agl/glitz_wgl_drawable.c: Add program_map_init after fini + in drawable_destroy (same as changes to glx/agl code). + 2005-12-07 Vladimir Vukicevic * src/agl/glitz_agl_format.c: AGL backend compilation fixes. diff --git a/src/wgl/glitz_wgl_drawable.c b/src/wgl/glitz_wgl_drawable.c index d267072..058f1f7 100644 --- a/src/wgl/glitz_wgl_drawable.c +++ b/src/wgl/glitz_wgl_drawable.c @@ -202,6 +202,7 @@ glitz_wgl_destroy (void *abstract_drawable) glitz_wgl_push_current (abstract_drawable, NULL, GLITZ_CONTEXT_CURRENT); glitz_program_map_fini (drawable->base.backend->gl, &drawable->screen_info->program_map); + glitz_program_map_init (&drawable->screen_info->program_map); glitz_wgl_pop_current (abstract_drawable); } -- cgit v1.2.3