aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-09-24 11:20:16 -0700
committerEric Anholt <[email protected]>2010-09-24 16:12:50 -0700
commit836803df794be7a2ae3be0fc047e882d49ab22bb (patch)
tree969bf4e4d092dc00844754a5bd29d827b8686173
parent6613605d79bc84043e74c7eefe8025c2c7c4978b (diff)
intel: Corresponding FinishRenderTexture debug to BeginRenderTexture.
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 363a5c02425..4ad85eb7c1a 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -598,6 +598,10 @@ intel_finish_render_texture(GLcontext * ctx,
struct gl_texture_image *image =
tex_obj->Image[att->CubeMapFace][att->TextureLevel];
struct intel_texture_image *intel_image = intel_texture_image(image);
+ struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer);
+
+ DBG("Finish render texture tid %lx tex=%u refcount=%d\n",
+ _glthread_GetID(), att->Texture->Name, irb->Base.RefCount);
/* Flag that this image may now be validated into the object's miptree. */
intel_image->used_as_render_target = GL_FALSE;