mesa: Add error condition for using compressed internalformat in glTexStorage3D()
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 30 May 2014 23:24:39 +0000 (16:24 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 5 Aug 2014 00:11:10 +0000 (17:11 -0700)
commite27c9f3a02509fe59db7ec409a339cc5ea809600
tree17ac3602d9b64b747ab84f94b0bc56d8f16a306a
parentac2adf66c1ce009fed9175c891f4d90c6d79b7ab
mesa: Add error condition for using compressed internalformat in glTexStorage3D()

Fixes gles3 Khronos CTS test: texture_storage_texture_internal_formats

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/texstorage.c