mesa: Allow GL_TEXTURE_CUBE_MAP target with compressed internal formats
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 10 Jun 2014 00:28:33 +0000 (17:28 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 5 Aug 2014 00:12:29 +0000 (17:12 -0700)
commitc7def2257aae3b73ba37609dfbc0a0f35fa99c81
treebfd0287ce324c270caaa3a68e2f5fafa53c52d5d
parent2fc420546199b5834ea3a0741d718333596ee235
mesa: Allow GL_TEXTURE_CUBE_MAP target with compressed internal formats

GL_TEXTURE_CUBE_MAP is an allowed texture target in glTexStorage2D()
and is allowed to be used (like GL_TEXTURE_2D) with compressed internal
formats.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/teximage.c