Skip to content

Commit

Permalink
fix: inverted the array size valye
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleHato authored and NEstelami committed Jun 6, 2022
1 parent d87df5f commit f9c86c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libultraship/libultraship/SohImGuiImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ namespace SohImGui {

EXPERIMENTAL();
ImGui::Text("Texture Filter (Needs reload)");
EnhancementCombobox("gTextureFilter", filters, 0, 3);
EnhancementCombobox("gTextureFilter", filters, 3, 0);
GfxRenderingAPI* gapi = gfx_get_current_rendering_api();
gapi->set_texture_filter((FilteringMode)CVar_GetS32("gTextureFilter", 0));
overlay->DrawSettings();
Expand Down

0 comments on commit f9c86c9

Please sign in to comment.