diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-02-22 11:36:26 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2020-02-22 11:36:26 -0300 |
commit | 54dfdd1cdb650c68b5a4547427d8bd10d15b614c (patch) | |
tree | ad00d2e1400d638ab97db2cb749751744ebcb05a | |
parent | fea37cfb526418f489975ccdbdb46035d61d4a88 (diff) |
Correct condition wrongly converted to ERR_FAIL_COND_MSG
Fixes debugging of giprobes not working, likely other stuff
-rw-r--r-- | drivers/vulkan/rendering_device_vulkan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.cpp b/drivers/vulkan/rendering_device_vulkan.cpp index 7f7c787da2..2bf8a16091 100644 --- a/drivers/vulkan/rendering_device_vulkan.cpp +++ b/drivers/vulkan/rendering_device_vulkan.cpp @@ -5977,7 +5977,7 @@ void RenderingDeviceVulkan::draw_list_draw(DrawListID p_list, bool p_use_indices if (p_procedural_vertices > 0) { #ifdef DEBUG_ENABLED - ERR_FAIL_COND_MSG(dl->validation.pipeline_vertex_format == INVALID_ID, + ERR_FAIL_COND_MSG(dl->validation.pipeline_vertex_format != INVALID_ID, "Procedural vertices requested, but pipeline expects a vertex array."); #endif to_draw = p_procedural_vertices; |