main: Remove redundant NumLayers checks.
authorLaura Ekstrand <laura@jlekstrand.net>
Wed, 4 Mar 2015 19:03:18 +0000 (11:03 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 9 Mar 2015 20:33:53 +0000 (13:33 -0700)
commit8979368f12b96c28774119aff955e7f66a57b3fc
treedb4827da22afaf8226d3bdd1b680d148726339c1
parent1ee000a0b6737d6c140d4f07b6044908b8ebfdc7
main: Remove redundant NumLayers checks.

ARB_direct_state_access texture functions that operate on cube maps no longer
need to verify that cube map texture objects contain six texture images
because _mesa_cube_level_complete now does that for them.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/texgetimage.c
src/mesa/main/teximage.c