On 10 March 2011 22:58, Stefan Dösinger stefan@codeweavers.com wrote:
@@ -264,6 +264,8 @@ struct IDirect3DSurface8Impl
/* If set forward refcounting to this object */ IUnknown *forwardReference;
- UINT width, height;
};
You could just ask wined3d for the surface size.
Am Donnerstag 10 März 2011, 22:15:39 schrieb Henri Verbeet:
You could just ask wined3d for the surface size.
Yes, with the overhead of two Surface::GetDesc calls per SetRenderTarget call.