Commit 9b721da9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_scissor_rect().

parent 7638e550
...@@ -2340,7 +2340,7 @@ void CDECL wined3d_device_get_scissor_rect(const struct wined3d_device *device, ...@@ -2340,7 +2340,7 @@ void CDECL wined3d_device_get_scissor_rect(const struct wined3d_device *device,
{ {
TRACE("device %p, rect %p.\n", device, rect); TRACE("device %p, rect %p.\n", device, rect);
*rect = device->updateStateBlock->state.scissor_rect; *rect = device->stateBlock->state.scissor_rect;
TRACE("Returning rect %s.\n", wine_dbgstr_rect(rect)); TRACE("Returning rect %s.\n", wine_dbgstr_rect(rect));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment