wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_stream_source_freq().
This commit is contained in:
parent
69e1100c0c
commit
a2e1a3d4f1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue