Module: wine Branch: master Commit: 66aa910bd0395de5a0bed604e08861000ad287b9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=66aa910bd0395de5a0bed604e0...
Author: Józef Kucia jkucia@codeweavers.com Date: Tue Nov 29 12:06:27 2016 +0100
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
---
dlls/wined3d/context.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 989daf2..727f074 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -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; }