2008/9/24 Stefan Dösinger stefan@codeweavers.com:
Here's a thought regarding handling the lack of GL_ARB_multitexture support. Since pretty much all cards out there have multitexture support(even my junky Mach64 card), we could just use one texcoord function array, and if multitextures are really not supported, use a wrapper function that calls the non-multitexture gl function and just drops the texture unit. That avoids the if check in this pretty performance critical part on probably all cards out there that are in use.
Yeah, although I wouldn't be opposed to simply making ARB_multitexture a hard requirement either. I doubt there are any configurations left that don't support multitexture but that would otherwise be able to run Wine.