OSDN Git Service

mesa: Only advertise GL_ETC1_RGB8_OES in ES contexts
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Aug 2013 20:16:54 +0000 (13:16 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Aug 2013 14:46:51 +0000 (07:46 -0700)
commit40550c8cedbcca508fb05baa7b7d480e6a60c51f
tree03874b03437b63c20a6bb262aac7c08acd3238bd
parentcabd45773b58d6aa48202da1cdd8cf1a6b856c53
mesa: Only advertise GL_ETC1_RGB8_OES in ES contexts

There is no extension for this format in desktop GL, so an application
can't give the format back to glCompressedTexImage2D.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/mesa/main/texcompress.c