wined3d: Invalidate STATE_STREAMSRC in IWineD3DDeviceImpl_EvictManagedResources().
This commit is contained in:
parent
cdc120d5e5
commit
3ecaa4a41a
|
@ -6174,6 +6174,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_EvictManagedResources(IWineD3DDevice *i
|
|||
TRACE("iface %p.\n", iface);
|
||||
|
||||
IWineD3DDevice_EnumResources(iface, evict_managed_resource, NULL);
|
||||
/* Invalidate stream sources, the buffer(s) may have been evicted. */
|
||||
IWineD3DDeviceImpl_MarkStateDirty((IWineD3DDeviceImpl *)iface, STATE_STREAMSRC);
|
||||
|
||||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue