On 3 September 2013 14:07, Stefan Dösinger stefan@codeweavers.com wrote:
I'm checking this in d3d9/d3d8/ddraw because we create textures for everything nowadays, even stand-alone surfaces.
For ddraw that's not true yet, but I think my preferred way to handle this would be to introduce a WINED3DUSAGE_TEXTURE usage flag, and then handle the format restrictions in resource_init() in wined3d.
Note that I have a couple of patches for enforcing render target and depth stencil format restrictions for bug 34284 that should go in later this week. It may be best to hold this of until after that's in.