wined3d: Return hr result in wined3d_event_query_create.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
860c1578e6
commit
c683372bca
|
@ -945,7 +945,7 @@ static HRESULT wined3d_event_query_create(struct wined3d_device *device,
|
|||
{
|
||||
WARN("Event queries not supported.\n");
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
return WINED3DERR_NOTAVAILABLE;
|
||||
return hr;
|
||||
}
|
||||
|
||||
wined3d_query_init(&object->query, device, type, &object->signalled,
|
||||
|
|
Loading…
Reference in New Issue