diff options
author | David Reveman <davidr@novell.com> | 2004-05-09 20:54:51 +0000 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2004-05-09 20:54:51 +0000 |
commit | bc0caac12d0bdc52bae20c22c54ad29e80d4622f (patch) | |
tree | d88dbb0a43bea600fca5148a02f485423bb16f79 /src/glitz_agl_context.c | |
parent | 3adff2a5662157c9e7cdb5543fec8e417a3d8bf4 (diff) |
Added library cleanup functions
Diffstat (limited to 'src/glitz_agl_context.c')
-rw-r--r-- | src/glitz_agl_context.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glitz_agl_context.c b/src/glitz_agl_context.c index 88c36e2..7137c45 100644 --- a/src/glitz_agl_context.c +++ b/src/glitz_agl_context.c @@ -75,6 +75,14 @@ glitz_agl_context_get (glitz_agl_thread_info_t *thread_info, return context; } +void +glitz_agl_context_destroy (glitz_agl_thread_info_t *thread_info, + glitz_agl_context_t *context) +{ + aglDestroyContext (context->context); + free (context); +} + static void glitz_agl_context_set_surface_anti_aliasing (glitz_agl_surface_t *surface) { |