[5/5] wined3d: Handle texture coordinates the same way we handle other vertex attributes

Henri Verbeet hverbeet at gmail.com
Wed Sep 24 14:04:56 CDT 2008


2008/9/24 Stefan Dösinger <stefan at 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.


More information about the wine-devel mailing list