diff options
author | Eric Anholt <[email protected]> | 2010-09-24 16:22:08 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-09-24 18:03:28 -0700 |
commit | 934fde4f5a63ff7c3c29c21e9e67cce3c2564788 (patch) | |
tree | 13dfb3cda73823a9bf07435f4af858f9b87fd01a | |
parent | 861949579049f70c2ec039fe67d772ed435f55ba (diff) |
intel: Fix segfault on INTEL_DEBUG=fbo with unsupported framebuffers.
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 64c94b9b556..984585027c1 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -602,10 +602,9 @@ 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); + DBG("Finish render texture tid %lx tex=%u\n", + _glthread_GetID(), att->Texture->Name); /* Flag that this image may now be validated into the object's miptree. */ intel_image->used_as_render_target = GL_FALSE; |