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

This commit is contained in:
Henri Verbeet 2013-08-21 08:29:29 +02:00 committed by Alexandre Julliard
parent 69e1100c0c
commit a2e1a3d4f1
1 changed files with 1 additions and 1 deletions

View File

@ -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);