summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/wgl/glitz_wgl_drawable.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b5ce22f..f41d037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-12-07 Vladimir Vukicevic <vladimir@pobox.com>
+ * 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 <vladimir@pobox.com>
+
* src/agl/glitz_agl_format.c: AGL backend compilation fixes.
2005-11-30 David Reveman <davidr@novell.com>
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);
}