mesa: Don't call _mesa_ClipControl from glPopAttrib when unsupported.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Nov 2014 02:16:41 +0000 (18:16 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Nov 2014 02:26:08 +0000 (18:26 -0800)
commit8ca8dd123af78e9d4ff08f8fac2346e17fb7a0ee
tree6b02d2c5d7221478dbbb861fec7e9f0dfaf1c99b
parentf7819650979d1fa5339af3eacfa1af1090bf53e8
mesa: Don't call _mesa_ClipControl from glPopAttrib when unsupported.

Otherwise, calling glPopAttrib on drivers that don't support
ARB_clip_control gives you a GL error, which is surprising at best.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/attrib.c