From e541fce2bcdc77da59dcf012a75601f3ee53e08b Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Tue, 28 May 2024 06:13:14 -0700 Subject: [PATCH] fix non-enumeration of 0 tex2dfmt --- src/df/gfx/df_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/df/gfx/df_gfx.c b/src/df/gfx/df_gfx.c index 36e994a8..c81e56e7 100644 --- a/src/df/gfx/df_gfx.c +++ b/src/df/gfx/df_gfx.c @@ -4553,7 +4553,7 @@ df_window_update_and_render(Arena *arena, DF_Window *ws, DF_CmdList *cmds) //- rjf: gather tex2dformats if(ws->autocomp_lister_params.flags & DF_AutoCompListerFlag_Tex2DFormats) { - for(EachNonZeroEnumVal(R_Tex2DFormat, fmt)) + for(EachEnumVal(R_Tex2DFormat, fmt)) { DF_AutoCompListerItem item = {0}; {