[PATCH 4/9] wined3d: Unbind image textures in context_bind_unordered_access_views().

Józef Kucia jkucia at codeweavers.com
Tue Nov 29 05:06:27 CST 2016


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 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;
         }
 
-- 
2.7.3




More information about the wine-patches mailing list