8 Mar
2011
8 Mar
'11
11:18 p.m.
On 8 March 2011 23:48, Stefan Dösinger <stefandoesinger(a)gmx.at> wrote:
Actually I think we have a test that shows that if the surface is part of a texture it has resource type WINED3DRTYPE_TEXTURE. (Unverified, it's too late so I am too lazy to look for the exact test atm)
It's not working very well then, surfaces really do always have D3DRTYPE_SURFACE as resource type in Wine. Note that returning D3DRTYPE_TEXTURE for surfaces that are part of a texture would also imply that you can't distinguish between a surface and a texture IDirect3DResource9 pointer without doing QueryInterface() calls.