WineD3D: upload p8 palette using GL_ALPHA instead of GL_RED

Roderick Colenbrander thunderbird2k at gmx.net
Fri Feb 8 03:52:01 CST 2008


Hi,

The p8 emulation shader uploads data using GL_RED while the index_in_alpha path (both are always active at the same time) uses GL_ALPHA. This patch makes both paths use GL_ALPHA, this fixes readback problems in Red Alert.

All my other test cases (StarCraft, Jazz JackRabbit 2, DXSDK ddex4/5) all still work.

Regards,
Roderick Colenbrander
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Upload-P8-data-using-GL_ALPHA-instead-of-GL_RED-beca.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080208/06be5f8d/attachment.bin 


More information about the wine-patches mailing list