Karl Lessard wrote:
> 
> 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.

I've been doing work to the Tribes2 source itself to work around problem
2 (for the swell guys at Loki -- who hasn't bought their copy yet?), so
I'll apply this and verify that the fix is an OpenGL-compliant one. 
Nice work, I'm glad you could make some sense of the texture combine
mode registers...

-- Gareth

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to