diff options
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); } |