Skip to content
Snippets Groups Projects
Commit 833bfa88 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

vkd3d-shader/hlsl: Use list_empty() instead of comparing list_count() against zero.

parent 8727b9a4
No related branches found
No related tags found
No related merge requests found
......@@ -326,7 +326,7 @@ static bool append_conditional_break(struct hlsl_ctx *ctx, struct list *cond_lis
struct hlsl_ir_if *iff;
/* E.g. "for (i = 0; ; ++i)". */
if (!list_count(cond_list))
if (list_empty(cond_list))
return true;
condition = node_from_list(cond_list);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment