[PATCH 1/4] wined3d: Disallow empty surfaces.
stefandoesinger at gmx.at
Thu Nov 18 07:59:18 CST 2010
Am Donnerstag 18 November 2010, 12:21:39 schrieb Henri Verbeet:
> + if (!resource_size) return WINED3DERR_INVALIDCALL;
Shouldn't we add a format flag that controls wether a format can be used to
create a resource instead? I'm thinking about the NULL fourcc code that also
has a resource size of zero but can be used to create a surface.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part.
More information about the wine-devel