st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING
authorBrian Paul <brianp@vmware.com>
Thu, 2 Sep 2010 18:58:58 +0000 (12:58 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Sep 2010 19:00:10 +0000 (13:00 -0600)
commite746a6bb9a6c9f797d1b40ed22b2f296f8fa5aac
tree0df6004f224470f7fa26df0deead99d997fb2677
parent6e3cbeb3614152ea3aa188666d6166b484ee3f56
st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING

Don't try to use more generic varying vars than core Mesa supports.
Fixes fd.o bug 29959.
src/mesa/state_tracker/st_extensions.c