mesa: Make detach_renderbuffer available outside fbobject.c
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 8 Aug 2013 22:26:36 +0000 (15:26 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Aug 2013 00:53:33 +0000 (17:53 -0700)
commit438cc6bc49d109f9ddeed6a741c4f0b8f1c4ffe2
treeeaa806bcf002c41e5ac9199d05bd298cd9577df5
parent341fb93c162052e0b1eff7f5e53c49aba498ee9a
mesa: Make detach_renderbuffer available outside fbobject.c

Also add a return value indicating whether any work was done.

This will be used by the next patch.

v2: Move 'fb->Attachment[i].Texture == att' check to the next
patch... where it was intended to be in the first place.  Noticed by
Chad.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h