Skip to content

Add support for Imgui 1.92 - #355

Open
lapinozz wants to merge 9 commits into
SFML:masterfrom
lapinozz:imgui-1.92
Open

lapinozz wants to merge 9 commits into
SFML:masterfrom
lapinozz:imgui-1.92

Conversation

@lapinozz

Copy link
Copy Markdown
Contributor

No description provided.

jacogasp and others added 9 commits April 5, 2026 10:38
With version v1.92.0, ImGui introduced the RenderHasTexture backend flag
to enable backend to render fonts as raw textures. The current
ImGui-SFML backend implementation does not support this feature and
minimal examples don't run because of failing assertions.

This commit provide support for the new RenderHasTexture backend flag
while supporting previous version using the IMGUI_VERSION_NUM macro
@lapinozz

Copy link
Copy Markdown
Contributor Author

Breaking changes:

Removed the loadDefaultFont from all the Init() function overloads
Default font will be automatically loaded if you don't load any custom font

Removed UpdateFontTexture()
Font textures are automatically updated as needed

Removed GetFontTexture()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants