=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Unbind image textures in context_bind_unordered_access_views().

Alexandre Julliard julliard at winehq.org
Tue Nov 29 16:01:39 CST 2016


Module: wine
Branch: master
Commit: 66aa910bd0395de5a0bed604e08861000ad287b9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=66aa910bd0395de5a0bed604e08861000ad287b9

Author: Józef Kucia <jkucia at 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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
         }
 




More information about the wine-cvs mailing list