From: Karl L. <klessard@Matrox.COM> - 2001-06-13 16:19:44
|
Hi everybody, this patch fixes some problems in texturing in the mga driver. 1) It fixes a texture corruption problem, as the mga driver did not use the right texture format in some case ( I've seen that when an application wants to store a texture in RGB5_A1, but it is actually stored in ARGB8 by Mesa). 2) I've enabled again the hardware acceleration for GL_DECAL texture function, for both single and multi-texturing. Blending in single texturing needs to be emulated through multi-texturing, and problems with multi-texturing were probably relied to the bug above (as in Tribes2). That way, anybody who tries to play Tribes2 with a mga board will be impressed by the improvment made by this patch. Please, try it! As this patch is my first one (wouhou!) , I want to ask you too what's the procedures to send a patch and get it approved before it can be included in the CVS repository. I did this patch too by using fresh XFree-4.1.0 sources, since I don't have access to the DRI cvs tree through our firewall. Thank you! Karl |