diff options
author | Brian <[email protected]> | 2007-08-15 12:52:00 +0100 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-15 12:52:00 +0100 |
commit | 15481160f9b38f67009acac86cb62615362cee72 (patch) | |
tree | 93077698365644d02f1d11c94e4ebbe66a182608 /src/mesa/main/context.c | |
parent | 00ccff03a50ac62091c4d1735a31d4debed2c8c9 (diff) |
more debug output (context destroy, fb destroy)
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 64f3a7ffbc5..bfae5d17091 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1192,6 +1192,10 @@ _mesa_free_context_data( GLcontext *ctx ) _mesa_make_current(ctx, NULL, NULL); } +#if DEBUG + printf("%lu: MESA: BEGIN DESTROY CONTEXT %p\n", + _glthread_GetID(), (void*) ctx); +#endif if (ctx->AttribStackDepth > 0) { #ifdef DEBUG printf("%lu: MESA: DESTROY CONTEXT WITH NON-EMPTRY ATTRIB STACK!\n", @@ -1242,6 +1246,11 @@ _mesa_free_context_data( GLcontext *ctx ) if (ctx == _mesa_get_current_context()) { _mesa_make_current(NULL, NULL, NULL); } + +#if DEBUG + printf("%lu: MESA: END DESTROY CONTEXT %p\n", + _glthread_GetID(), (void*) ctx); +#endif } |