mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:59:55 +00:00
wined3d: Remove stateblock handling from wined3d_device_set_predication().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a6cd109ad6
commit
9415066f6e
|
@ -3656,16 +3656,15 @@ void CDECL wined3d_device_set_predication(struct wined3d_device *device,
|
|||
|
||||
TRACE("device %p, predicate %p, value %#x.\n", device, predicate, value);
|
||||
|
||||
prev = device->update_state->predicate;
|
||||
prev = device->state.predicate;
|
||||
if (predicate)
|
||||
{
|
||||
FIXME("Predicated rendering not implemented.\n");
|
||||
wined3d_query_incref(predicate);
|
||||
}
|
||||
device->update_state->predicate = predicate;
|
||||
device->update_state->predicate_value = value;
|
||||
if (!device->recording)
|
||||
wined3d_cs_emit_set_predication(device->cs, predicate, value);
|
||||
device->state.predicate = predicate;
|
||||
device->state.predicate_value = value;
|
||||
wined3d_cs_emit_set_predication(device->cs, predicate, value);
|
||||
if (prev)
|
||||
wined3d_query_decref(prev);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue