http://bugs.winehq.org/show_bug.cgi?id=10697
--- Comment #37 from Roderick Colenbrander thunderbird2k@gmx.net 2008-01-15 10:58:00 --- Your patch is in now. Try this check in PrivateSetup (I didn't have time to build a diff or compile it):
if(This->Flags & SFLAG_NONPOW2 && GL_SUPPORT(ARB_TEXTURE_RECTANGLE) && !((This->resource.format == WINED3DFMT_P8) && GL_SUPPORT(EXT_PALETTED_TEXTURE) && (wined3d_settings.rendertargetlock_mode == READTEX || wined3d_settings.rendertargetlock_mode == TEXTEX)))