main: _mesa_cube_level_complete checks NumLayers.
authorLaura Ekstrand <laura@jlekstrand.net>
Wed, 4 Mar 2015 18:49:55 +0000 (10:49 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 9 Mar 2015 20:33:53 +0000 (13:33 -0700)
commit1ee000a0b6737d6c140d4f07b6044908b8ebfdc7
tree5b07bee91ca4d546b14a9bbe3384fd9339e99d98
parentc939231e7223510408a446400ad23b8b5ce2922e
main: _mesa_cube_level_complete checks NumLayers.

_mesa_cube_level_complete now verifies that a cube map texture object actually
has six texture images before proceeding.

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