Hi,

I noticed that the render-acceleration in mga-driver was switched off,
probably because it didn't render fonts correctly. In an attempt to fix
it, I figured that MGASetupForCPUToScreenAlphaTexture() in mga_storm.c
has a line:

    OUTREG(MGAREG_TEXCTL, 0x3A000107 | ((pitch & 0x07FF) << 9));
 
which sets the tmodulate bit to 1. Which, I think is incorrect and
should be set to 0 instead:  

    OUTREG(MGAREG_TEXCTL, 0x1A000107 | ((pitch & 0x07FF) << 9));

At least it produces similar results with the software renderer.

-- 
Tero Huttunen

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to