mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 23:02:16 +00:00
wined3d: Release the context on an error path in buffer_PreLoad().
This commit is contained in:
parent
ffc774c026
commit
64e2525ba0
|
@ -1000,7 +1000,7 @@ static void STDMETHODCALLTYPE buffer_PreLoad(IWineD3DBuffer *iface)
|
|||
if(!buffer_add_dirty_area(This, 0, 0))
|
||||
{
|
||||
ERR("buffer_add_dirty_area failed, this is not expected\n");
|
||||
return;
|
||||
goto end;
|
||||
}
|
||||
/* Avoid unfenced updates, we might overwrite more areas of the buffer than the application
|
||||
* cleared for unsynchronized updates
|
||||
|
|
Loading…
Reference in a new issue