mesa: Reorganize check_textarget().
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Oct 2016 23:37:25 +0000 (16:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Oct 2016 04:10:05 +0000 (21:10 -0700)
commitaecdb21be8f4cd4963d20fa42c2c7291ece874e6
treef48726fd5bc7cf62fe642a7a06a304a06b712f97
parent53b8f6374f6bb12fd783ab90694a752c7cfc7b3a
mesa: Reorganize check_textarget().

Having one top-level switch statement covering all known texture targets
will make the next change easier to implement.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/fbobject.c