On 11 September 2013 11:31, Stefan Dösinger <ste...@codeweavers.com> wrote:
> - /* Reading the declaration makes only sense if the stateblock is
> finalized and the buffer bound to a stream */
> - if (device->isInDraw && buffer->resource.bind_count > 0)
> + /* Reading the declaration makes only sense if we have valid state
> information
> + * (i.e., if this function is called during draws). */
> + if (state)
Technically what needs to be valid is the stream info, although we
probably don't care that much about the distinction.