Skip to content

Game engine part of the tutorial uses deprecated Dear ImGui functionality #321

@SaschaWillems

Description

@SaschaWillems

This was brought up to me by Omar, the creator of Dear ImGui: The Dear ImGui setup chapter of the tutorial is using outdated/deprecated functions:

  • GetTexDataAsRGBA32() was marked obsolete in June 2025 and is a path that does not support e.g. dynamic font textures and will likely be unsupported in 2026. See https://github.com/ocornut/imgui/blob/master/docs/BACKENDS.md#rendering-adding-support-for-imguibackendflags_rendererhastextures-192
  • ImGuiVulkanUtil::handleKey() in that web uses API that were deprecated in 2022 & went unsupported in nov 2024. The TL;DR is that:
    io.KeysDown[key] = true ==> io.AddKeyEvent(key, true).
    io.MousePos = pos; ==> io.AddMousePosEvent(pos); etc.
  • (If that util/framework is using GLFW honestly it should be using imgui_impl_glfw backend for platform stuff, otherwise 100% chance you having missing features or bugs. But it seems reasonable that a vulkan tutorial rewrites a vulkan renderer instead of usig imgui_impl_vulkan.)

Metadata

Metadata

Assignees

Labels

Game EngineSpecific to the Simple Game Engine tutorial

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions