[PATCH 1/4] wined3d: Disallow empty surfaces.

Stefan Dösinger 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
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20101118/490f8b26/attachment.pgp>


More information about the wine-devel mailing list