mesa: move assertion in _mesa_cube_face_target()
authorBrian Paul <brianp@vmware.com>
Sun, 14 Feb 2016 14:16:25 +0000 (07:16 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 14 Feb 2016 16:16:22 +0000 (09:16 -0700)
commit816c987b67e3c65e17687b84f4575aaf61e9580a
tree1f4dc9f70d45990d57d47097a92ae6232131ffe9
parenta4cff1859efedac37368c1ddc55b091b6cd3eb65
mesa: move assertion in _mesa_cube_face_target()

Fixes piglit arb_texture_view-sampling-2d-array-as-2d-layer regression.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94134
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/teximage.h