[2/7] wined3d: Locking partial blocks is not allowed in DEFAULT pool resources

Henri Verbeet hverbeet at gmail.com
Mon Oct 17 08:37:06 CDT 2011

On 16 October 2011 22:56, Stefan Dösinger <stefan at codeweavers.com> wrote:
> +        hr = IDirect3DDevice9_CreateTexture(device, 128, 128, 1, D3DUSAGE_DYNAMIC, dxt_formats[i].fmt,
> +                D3DPOOL_DEFAULT, &texture, NULL);
You should check D3DCAPS2_DYNAMICTEXTURES before using dynamic
textures. Also, wouldn't it be more appropriate to make this part of
the test in patch 3/7?

More information about the wine-devel mailing list