Vulkan: Fix Unbinding All Images
When unbinding all images, all textures where unbound. This was incorrect. This PR fixes this. Pull Request: https://projects.blender.org/blender/blender/pulls/108740
This commit is contained in:
@@ -127,7 +127,7 @@ void VKStateManager::image_unbind(Texture *tex)
|
||||
|
||||
void VKStateManager::image_unbind_all()
|
||||
{
|
||||
for (TextureBinding &binding : texture_bindings_) {
|
||||
for (TextureBinding &binding : image_bindings_) {
|
||||
binding.texture = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user