mesa: check attachment Type field in renderbuffer_exists()
authorBrian Paul <brianp@vmware.com>
Thu, 13 Oct 2011 13:37:43 +0000 (07:37 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 13 Oct 2011 13:37:43 +0000 (07:37 -0600)
commit504d0add1257f63d72d320f99f182412358dc40f
tree4457e7844a269c68f5ec6278de66d83cf7c6ad74
parente5fef34c2132e29b6cecfda525dfa956c4477d75
mesa: check attachment Type field in renderbuffer_exists()

Instead of the renderbuffer pointer.  In the future, attaching a texture
may not mean the renderbuffer pointer gets set too.
Plus, remove some commented-out assertions.
src/mesa/main/framebuffer.c