wined3d: Add a missing call to context_release.
Spotted by Michael Müller. Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c43dd195de
commit
f9c6488394
|
@ -4138,6 +4138,7 @@ void CDECL wined3d_device_update_sub_resource(struct wined3d_device *device, str
|
||||||
if (!wined3d_buffer_load_location(buffer, context, WINED3D_LOCATION_BUFFER))
|
if (!wined3d_buffer_load_location(buffer, context, WINED3D_LOCATION_BUFFER))
|
||||||
{
|
{
|
||||||
ERR("Failed to load buffer location.\n");
|
ERR("Failed to load buffer location.\n");
|
||||||
|
context_release(context);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue