[PATCH 2/5] d3d9: Check for support before creating textures
hverbeet at gmail.com
Tue Sep 3 10:33:07 CDT 2013
On 3 September 2013 14:07, Stefan Dösinger <stefan at 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.
More information about the wine-devel