Signed-off-by: Zebediah Figura z.figura12@gmail.com --- dlls/wined3d/device.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index ea7d60f73c..a7e274dd5a 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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); }