diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2005-12-07 21:22:49 +0000 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@pobox.com> | 2005-12-07 21:22:49 +0000 |
commit | 7d512f204af7e2706ab4b2c681e520f28f6a4700 (patch) | |
tree | 38c1167b0a1c88e4ea792dff8e135492ea4c5a2b /src | |
parent | ae91b71d09c8f830eed8503ddb8a24d4c21c896b (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).
Diffstat (limited to 'src')
-rw-r--r-- | src/wgl/glitz_wgl_drawable.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |