http://bugs.winehq.org/show_bug.cgi?id=10697
--- Comment #36 from Roderick Colenbrander thunderbird2k@gmx.net 2008-01-12 13:28:33 --- Finding the right place is tricky (though not as tricky as what I had to do for the p8 fragment shader). It could be the right place but it should only be overridden for WINED3DFMT_P8, when GL_EXT_paletted_texture is around and when the RenderTargetLockMode is readtex or textex.