WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 251e53d

Browse files
KROIAChrisThrasher
authored andcommitted
Fix conversion error with new ImGui version
1 parent bf9023d commit 251e53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imgui-SFML.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ ImVec2 getDownRightAbsolute(const sf::FloatRect& rect) {
810810
}
811811

812812
ImTextureID convertGLTextureHandleToImTextureID(GLuint glTextureHandle) {
813-
ImTextureID textureID = nullptr;
813+
ImTextureID textureID{};
814814
std::memcpy(&textureID, &glTextureHandle, sizeof(GLuint));
815815
return textureID;
816816
}

0 commit comments

Comments
 (0)