mesa: fix typo and add assert() to _mesa_attach_renderbuffer_without_ref()
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 10 Apr 2017 23:57:45 +0000 (09:57 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 10 Apr 2017 23:57:45 +0000 (09:57 +1000)
commit8ffd54fef838784ef4388d48843cddf55246e529
tree07631f37a9e847d10a5bd5b131de36933dba94ca
parentbd84252be62608c0b8e46173a774ec372c9708cc
mesa: fix typo and add assert() to _mesa_attach_renderbuffer_without_ref()

This function should only be used with a "freshly created" renderbuffer
so assert RefCount is 1.
src/mesa/main/renderbuffer.c