main: Checking for cube completeness in GetTextureImage.
authorLaura Ekstrand <laura@jlekstrand.net>
Mon, 15 Dec 2014 22:57:08 +0000 (14:57 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Thu, 8 Jan 2015 19:37:30 +0000 (11:37 -0800)
commitefbc1c86a61cd5fe6803779bea2d5848b08617e9
tree5f15c553b47b11381eef18a829458c699618ada4
parentb66dd38a37807c28203aa5c6c2707c1dc6dccedf
main: Checking for cube completeness in GetTextureImage.

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
GetTextureImage when the target is GL_TEXTURE_CUBE_MAP.

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