summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Vukicevic <vladimir@pobox.com>2005-12-07 21:22:49 +0000
committerVladimir Vukicevic <vladimir@pobox.com>2005-12-07 21:22:49 +0000
commit7d512f204af7e2706ab4b2c681e520f28f6a4700 (patch)
tree38c1167b0a1c88e4ea792dff8e135492ea4c5a2b
parentae91b71d09c8f830eed8503ddb8a24d4c21c896b (diff)
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).
-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);
}