Re: [PATCH 5/5] wined3d: Explicitly pass the state information to buffer_internal_preload
11 Sep
2013
11 Sep
'13
11:32 a.m.
On 11 September 2013 11:31, Stefan Dösinger <stefan(a)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.
4484
Age (days ago)
4484
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet