From bf2bbd891ce382a386c7970301b130e36bf8b91d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 25 Feb 2019 15:15:04 +0100 Subject: [PATCH] Back out wrong change. Leaving better error handling for later. --- GPU/Vulkan/DrawEngineVulkan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Vulkan/DrawEngineVulkan.h b/GPU/Vulkan/DrawEngineVulkan.h index 9065c94611..cece2c08c6 100644 --- a/GPU/Vulkan/DrawEngineVulkan.h +++ b/GPU/Vulkan/DrawEngineVulkan.h @@ -194,7 +194,7 @@ public: void SetLineWidth(float lineWidth); void SetDepalTexture(VkImageView depal) { - if (boundDepal_ != depal && depal) { + if (boundDepal_ != depal) { boundDepal_ = depal; gstate_c.Dirty(DIRTY_FRAGMENTSHADER_STATE); }