Commit a2e1a3d4 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Read from stateBlock instead of updateStateBlock in…

wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_stream_source_freq().
parent 69e1100c
......@@ -1611,7 +1611,7 @@ HRESULT CDECL wined3d_device_get_stream_source_freq(const struct wined3d_device
TRACE("device %p, stream_idx %u, divider %p.\n", device, stream_idx, divider);
stream = &device->updateStateBlock->state.streams[stream_idx];
stream = &device->stateBlock->state.streams[stream_idx];
*divider = stream->flags | stream->frequency;
TRACE("Returning %#x.\n", *divider);
......
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