[Mesa-dev] Request to revert commit [3d81e11b49366b5636b8524ba0f8c7076e3fdf34] mesa: remove, unnecessary, 'sort by year' for the GL extensions

Timothy Arceri tarceri at itsqueeze.com
Thu Sep 20 09:52:13 UTC 2018


Makes sense to me. We should also update the comment so it doesn't get 
removed again.

On 20/9/18 4:36 pm, Federico Dossena wrote:
> As most of you are probably aware of, id2 and id3 games store GL 
> extensions in a buffer that's too small for modern systems. This usually 
> leads to a crash when MESA_EXTENSION_MAX_YEAR is not set, but what the 
> creator of this commit didn't know is that some id3 games (the more 
> "recent" ones) don't crash, they just truncate the string. As a result 
> of this commit, these games can't detect some extensions and therefore 
> don't work properly.
> 
> I discovered this while trying to figure out why dynamic lights in Star 
> Trek Voyager Elite Force (2000) suddenly broke with Mesa 18. I discussed 
> this with Ronald Scheidegger, who's been very helpful and helped me 
> figure out what was going on.
> 
> Personally, I see nothing wrong with reverting this commit and keeping 
> the extensions sorted by year, it doesn't impact performance and it 
> doesn't break anything modern. What do you think about it?
> 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list