main: Checking for cube completeness in TextureSubImage.
authorLaura Ekstrand <laura@jlekstrand.net>
Mon, 15 Dec 2014 22:57:34 +0000 (14:57 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Thu, 8 Jan 2015 19:37:30 +0000 (11:37 -0800)
commit8d2542fc9d5af4db355b67cc2a1ff2f413685a27
tree4879f6664590c916039fbd1497a0d04f5154ae44
parentefbc1c86a61cd5fe6803779bea2d5848b08617e9
main: Checking for cube completeness in TextureSubImage.

This is part of a potential solution to a spec bug.  Cube completeness
is a concept from glGenerateMipmap, but it seems reasonable to check for it in
TextureSubImage when target=GL_TEXTURE_CUBE_MAP.

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