Skip to content

Commit 560baa9

Browse files
authored
Fix ImTextureID type
1 parent f1f1109 commit 560baa9

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
@@ -894,7 +894,7 @@ SpriteTextureData getSpriteTextureData(const sf::Sprite& sprite)
894894

895895
ImTextureID convertGLTextureHandleToImTextureID(GLuint glTextureHandle)
896896
{
897-
ImTextureID textureID = nullptr;
897+
ImTextureID textureID{};
898898
std::memcpy(&textureID, &glTextureHandle, sizeof(GLuint));
899899
return textureID;
900900
}

0 commit comments

Comments
 (0)