st/mesa: simplify integer texture check
authorBrian Paul <brianp@vmware.com>
Fri, 13 Dec 2013 16:26:24 +0000 (09:26 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Dec 2013 23:06:06 +0000 (16:06 -0700)
commiteff11b5a4ac41e3a8a626a6445e63ab0322db351
tree5b40f105074ddf0ec80c7b33620db25c1232891f
parentb5cc7104739313b15413441325b11a51b7581e3e
st/mesa: simplify integer texture check

Just use the gl_texture_object::_IsInteger field instead of
computing it from scratch.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_atom_sampler.c