intel: Remove gratuitous context checks in intel_delete_renderbuffer().
authorEric Anholt <eric@anholt.net>
Wed, 29 Jun 2011 18:37:35 +0000 (11:37 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 7 Jul 2011 21:43:44 +0000 (14:43 -0700)
commit007c2d6cd2f6b206564689ac12a3e51aaae242bc
tree728d24d96572c645648e48bada38fb4c3df31c1b
parentc7ef5e8498550e6ed4d609641ca6deb932882485
intel: Remove gratuitous context checks in intel_delete_renderbuffer().

Even if we don't have a current context, if we're freeing the rb we
should free its region (and BO).  The renderbuffer unreference checks
appear to be just cargo-cult from the region unreference code.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
Reviewed-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/intel/intel_fbo.c