fix non-enumeration of 0 tex2dfmt

This commit is contained in:
Ryan Fleury
2024-05-28 06:13:14 -07:00
parent 8319850666
commit e541fce2bc
+1 -1
View File
@@ -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};
{