-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Description
Upon using v3.0
and ImGui 1.91.9
I encounter these compilation errors:
D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-src\imgui-SFML.cpp(779,12): error C2661: 'ImGui::Image': no overloaded function takes 6 arguments [D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-build\ImGui-SFML.vcxproj]
D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-src\imgui-SFML.cpp(779,12):
while trying to match the argument list '(ImTextureID, ImVec2, ImVec2, ImVec2, ImColor, ImColor)'
D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-src\imgui-SFML.cpp(792,12): error C2661: 'ImGui::Image': no overloaded function takes 6 arguments [D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-build\ImGui-SFML.vcxproj]
D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-src\imgui-SFML.cpp(792,12):
while trying to match the argument list '(ImTextureID, ImVec2, ImVec2, ImVec2, ImColor, ImColor)'
D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-src\imgui-SFML.cpp(813,12): error C2661: 'ImGui::Image': no overloaded function takes 6 arguments [D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-build\ImGui-SFML.vcxproj]
D:\GitHub\StylishVisualizer\build\_deps\imgui-sfml-src\imgui-SFML.cpp(813,12):
while trying to match the argument list '(ImTextureID, ImVec2, ImVec2, ImVec2, ImColor, ImColor)'
Code references (in order of error messages):
Line 779 in 070d6ab
ImGui::Image(textureID, toImVec2(size), ImVec2(0, 0), ImVec2(1, 1), toImColor(tintColor), toImColor(borderColor)); |
Lines 792 to 800 in 070d6ab
ImGui::Image(textureID, | |
toImVec2(size), | |
ImVec2(0, 1), | |
ImVec2(1, 0), // flipped vertically, | |
// because textures in | |
// sf::RenderTexture are | |
// stored this way | |
toImColor(tintColor), | |
toImColor(borderColor)); |
Line 813 in 070d6ab
ImGui::Image(textureID, toImVec2(size), uv0, uv1, toImColor(tintColor), toImColor(borderColor)); |
Which seems to be due to breakage of ImGui::Image API:
Using a version prior to this one compiles with no problems.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels