On Thu, 23 Jan 2020 at 02:30, Zebediah Figura z.figura12@gmail.com wrote:
- if ((enum wined3d_format_id)format == WINED3DFMT_RESZ)
That works, but if the idea behind it is that we would be able to remove WINED3DFMT_RESZ from wined3d after the d3d8 version is done, we may just as add a "#define D3DFMT_RESZ MAKEFOURCC('R','E','S','Z')", and get rid of the cast.
Should we also check for D3DUSAGE_RENDERTARGET and D3DRTYPE_SURFACE here?