mesa: fix clip plane enable breakage
authorMarek Olšák <marek.olsak@amd.com>
Sat, 24 Jun 2017 01:16:06 +0000 (03:16 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 27 Jun 2017 16:45:07 +0000 (18:45 +0200)
commitbcf5d5ce403acb05035c42f29cde0000bb7e5d00
tree7220367852086c14934c815775d21967981cb282
parentfad0b4721942d05cba34c0270bafeaecc1292c95
mesa: fix clip plane enable breakage

Broken by:

commit 00173d91b70ae4dcea7c6324ee4858c498cae14b
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Sat Jun 10 12:09:43 2017 +0200

    mesa: don't flag _NEW_TRANSFORM for st/mesa if possible

It also optimizes the case slightly for GL core.

It doesn't try to fix that glEnable might be a bad place to do the
clip plane transformation.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/enable.c