http://bugs.winehq.org/show_bug.cgi?id=10697
--- Comment #46 from Roderick Colenbrander thunderbird2k@gmx.net 2008-01-20 02:57:32 --- Oops, I really can't type. I said in my last comment that it should have been 'RTL_READTEX' and so on but didn't patch the code.
if(This->Flags & SFLAG_NONPOW2 && GL_SUPPORT(ARB_TEXTURE_RECTANGLE) && !((This->resource.format == WINED3DFMT_P8) && GL_SUPPORT(EXT_PALETTED_TEXTURE) && (wined3d_settings.rendertargetlock_mode == RTL_READTEX || wined3d_settings.rendertargetlock_mode == RTL_TEXTEX)))