aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authornobled <[email protected]>2011-05-04 19:42:55 +0000
committerMarek Olšák <[email protected]>2012-03-10 21:42:06 +0100
commitae4a8a59b7045dafb99e903d11ebbd9c4ee161d6 (patch)
treef9e4e1d2697d1e74f087cf38252dce4946a069eb /src/mesa/main/context.c
parent41308d969921d28a3159099420c145d2dcf10fe6 (diff)
mesa: implement the last of GL_ARB_debug_output
Store client-defined message IDs in a hash table, and sort them by severity into three linked lists so they can be selected by severity level later.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 6332e07b126..83e5de47a88 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1138,6 +1138,8 @@ _mesa_free_context_data( struct gl_context *ctx )
/* needs to be after freeing shared state */
_mesa_free_display_list_data(ctx);
+ _mesa_free_errors_data(ctx);
+
if (ctx->Extensions.String)
free((void *) ctx->Extensions.String);