wined3d: Unbind image textures in context_bind_unordered_access_views().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-11-29 12:06:27 +01:00 committed by Alexandre Julliard
parent 3f9fb98ab3
commit 66aa910bd0
1 changed files with 1 additions and 0 deletions

View File

@ -3409,6 +3409,7 @@ static void context_bind_unordered_access_views(struct wined3d_context *context,
if (!(view = state->unordered_access_view[i]))
{
WARN("No unordered access view bound at index %u.\n", i);
GL_EXTCALL(glBindImageTexture(i, 0, 0, GL_FALSE, 0, GL_READ_WRITE, GL_R8));
continue;
}