Skip to content

Commit

Permalink
⬆️ [Imgui] Adapt to latest version of ImGui
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Dec 28, 2023
1 parent abe9d45 commit 39fb07a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/ColorRGBA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,4 @@ namespace ImGG {
/// sRGB, Straight Alpha
using ColorRGBA = ImVec4;

inline auto operator==(const ColorRGBA& a, const ColorRGBA& b) -> bool
{
return (a.x == b.x)
&& (a.y == b.y)
&& (a.z == b.z)
&& (a.w == b.w);
}

} // namespace ImGG
3 changes: 1 addition & 2 deletions src/imgui_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ static void draw_uniform_square(
top_left_corner,
bottom_right_corner,
color,
rounding,
ImDrawFlags_Closed
rounding
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ include(FetchContent)
FetchContent_Declare(
quick_imgui
GIT_REPOSITORY https://github.com/CoolLibs/quick_imgui
GIT_TAG 3646064043be374332724af2deda8c3820bb7296
GIT_TAG 3b13c9e999ecf3e7a19f2642d4ae120e55552477
)
FetchContent_MakeAvailable(quick_imgui)
cmake_policy(SET CMP0079 NEW)
Expand Down

0 comments on commit 39fb07a

Please sign in to comment.