Refactor color conversion functions for consistent naming and improved readability

This commit is contained in:
scawful
2024-11-18 14:12:46 -05:00
parent d664762344
commit ec85a206b1
6 changed files with 37 additions and 37 deletions

View File

@@ -48,7 +48,7 @@ IMGUI_API bool SnesColorEdit4(absl::string_view label, SnesColor* color,
ImGui::ColorEdit4(label.data(), (float*)&displayColor.x, flags);
color->set_rgb(displayColor);
color->set_snes(gfx::ConvertRGBtoSNES(displayColor));
color->set_snes(gfx::ConvertRgbToSnes(displayColor));
return pressed;
}