Signed-off-by: Zebediah Figura z.figura12@gmail.com --- dlls/wined3d/device.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index a44d15f0f8..c72754353f 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -2955,15 +2955,14 @@ static void wined3d_device_set_pipeline_unordered_access_view(struct wined3d_dev return; }
- prev = device->update_state->unordered_access_view[pipeline][idx]; + prev = device->state.unordered_access_view[pipeline][idx]; if (uav == prev && initial_count == ~0u) return;
if (uav) wined3d_unordered_access_view_incref(uav); - device->update_state->unordered_access_view[pipeline][idx] = uav; - if (!device->recording) - wined3d_cs_emit_set_unordered_access_view(device->cs, pipeline, idx, uav, initial_count); + device->state.unordered_access_view[pipeline][idx] = uav; + wined3d_cs_emit_set_unordered_access_view(device->cs, pipeline, idx, uav, initial_count); if (prev) wined3d_unordered_access_view_decref(prev); }