wined3d: Make "value" optional in wined3d_device_get_predication().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e3d69b5580
commit
febf242ff5
|
@ -3620,7 +3620,8 @@ struct wined3d_query * CDECL wined3d_device_get_predication(struct wined3d_devic
|
|||
{
|
||||
TRACE("device %p, value %p.\n", device, value);
|
||||
|
||||
*value = device->state.predicate_value;
|
||||
if (value)
|
||||
*value = device->state.predicate_value;
|
||||
return device->state.predicate;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue