Skip to content

Commit

Permalink
Merge pull request godotengine#36455 from reduz/giprobe-debug-fix
Browse files Browse the repository at this point in the history
Correct condition wrongly converted to ERR_FAIL_COND_MSG
  • Loading branch information
reduz committed Feb 22, 2020
2 parents 66ae939 + 54dfdd1 commit fc3ddef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/vulkan/rendering_device_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc3ddef

Please sign in to comment.