mesa: fix bug in _mesa_is_format_integer()
authorBrian Paul <brianp@vmware.com>
Wed, 27 Oct 2010 02:23:57 +0000 (20:23 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 27 Oct 2010 02:25:23 +0000 (20:25 -0600)
commitab50148fdafeb6496b4ab684e5b9a2355ccf542c
treeade78acd38a4c5673ff713709ec1ff034f56b255
parent9b3c4d3e67db9d43fc6b12d2b4943b087c80c926
mesa: fix bug in _mesa_is_format_integer()

We only want to return true if it's an integer _color_ format, not a
depth and/or stencil format.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31143
src/mesa/main/formats.c