mesa: new MESA_EXTENSION_MAX_YEAR env var
authorBrian Paul <brianp@vmware.com>
Thu, 24 Mar 2011 17:39:21 +0000 (11:39 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Mar 2011 17:39:23 +0000 (11:39 -0600)
commit82dd62fb22c8f88d62e3c77666c6805a2ac6ecd3
treed1aed1089b9ffb2173719e6f5ac155d630116c10
parent4c75d5ae63c356ac9b6d23009ccc9af6205dbb4a
mesa: new MESA_EXTENSION_MAX_YEAR env var

If set to year X, only report extensions up to that year.  This is a
work-around for games that try to copy the extensions string to a fixed
size buffer and overflow.  If a game was released in year X, setting
MESA_EXTENSION_MAX_YEAR to that year will likely fix the problem.
docs/envvars.html
src/mesa/main/extensions.c