mesa: minor simplification in test_attachment_completeness()
authorBrian Paul <brianp@vmware.com>
Fri, 13 Oct 2017 22:16:48 +0000 (16:16 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 14 Oct 2017 16:30:27 +0000 (10:30 -0600)
commitc7a81dcea9a9c2a0a7e8a0cebe4fe1ff81c1deb9
tree30c4eaecd6303d4ab14424c4425a1baa8f827844
parent4daee6733f3c4c755f9450a0dea33c0203cacd68
mesa: minor simplification in test_attachment_completeness()

We already have a pointer to the texture object.  Use it here.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/fbobject.c