You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello dear ImGui! An incomprehensible question arose regarding the fact that ImageButton in the cells of my table do not work except for the very first ImageButton button. Even a simple printf debug does not output anything, what is my mistake?
The IDs between your buttons are conflicting, see this FAQ entry for details.
Additionally you're using an overload of ImGui::ImageButton which is deprecated (partially to help avoid this mistake.) You should use the version which takes an ID instead, and consider defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS to disable deprecated overloads entirely.
Version/Branch of Dear ImGui:
Version 1.90.4
Back-ends:
imgui_impl_demo.cpp
Compiler, OS:
Windows 10 + DirectX11
Full config/build information:
No response
Details:
Hello dear ImGui! An incomprehensible question arose regarding the fact that ImageButton in the cells of my table do not work except for the very first ImageButton button. Even a simple printf debug does not output anything, what is my mistake?
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: