Re: [PATCH 5/8] wined3d: Fail texture creation when invalid multisample settings are specified.
27 Jan
2016
27 Jan
'16
5:09 p.m.
On 26 January 2016 at 22:51, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
@@ -1137,6 +1137,8 @@ static HRESULT d3d9_device_create_surface(struct d3d9_device *device, UINT width { wined3d_mutex_unlock(); WARN("Failed to create texture, hr %#x.\n", hr); + if (hr == D3DERR_NOTAVAILABLE) + hr = D3DERR_INVALIDCALL; That should check for WINED3DERR_NOTAVAILABLE.
3610
Age (days ago)
3610
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet