diff options
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index bfae5d17091..4f3e22dbb2b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -561,10 +561,6 @@ delete_texture_cb(GLuint id, void *data, void *userData) { struct gl_texture_object *texObj = (struct gl_texture_object *) data; GLcontext *ctx = (GLcontext *) userData; -#ifdef DEBUG - printf("MESA TEX DELETE %p (%u) from DestroyContext\n", - (void *) texObj, texObj->Name); -#endif ctx->Driver.DeleteTexture(ctx, texObj); } @@ -1192,17 +1188,6 @@ _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", - _glthread_GetID()); -#endif - } - /* unreference WinSysDraw/Read buffers */ _mesa_unreference_framebuffer(&ctx->WinSysDrawBuffer); _mesa_unreference_framebuffer(&ctx->WinSysReadBuffer); @@ -1246,11 +1231,6 @@ _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 } |