mesa: move check for no-op glShadeModel call earlier
authorBrian Paul <brianp@vmware.com>
Wed, 22 Jul 2015 00:44:07 +0000 (18:44 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Jul 2015 00:44:07 +0000 (18:44 -0600)
commit300926def04afc76d67ce964f10247b2e787c5dc
tree4ed9d25c5eede182ec6cc0d80b290a7437e99917
parentd323f26830c1ce7e157cfeeb4f1e38b1a4d19d31
mesa: move check for no-op glShadeModel call earlier

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/light.c