mesa/extensions: restrict luminance alpha formats to API_OPENGL_COMPAT
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 27 Aug 2015 23:05:22 +0000 (16:05 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Tue, 15 Sep 2015 17:00:00 +0000 (10:00 -0700)
commitfe796a18319d791f3ed3865761452474b1c0477f
tree59f73fd625d19e176c5b644fdabbdd2b5b0b9b73
parentedfb7ed1099cc8b6bebc2f1cb0b7b71bdcdbedeb
mesa/extensions: restrict luminance alpha formats to API_OPENGL_COMPAT

According the GL 3.1 spec, luminance alpha formats are deprecated.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/extensions.c
src/mesa/main/teximage.c