Fix macOS debug build crash by providing a non empty ID (for the root of a window)

This commit is contained in:
Edward Li 2024-05-30 13:28:26 +08:00 committed by flyinghead
parent 8ddbe9212a
commit 24e579ed99
1 changed files with 1 additions and 1 deletions

View File

@ -3080,7 +3080,7 @@ static void gameTooltip(const std::string& tip)
static bool gameImageButton(ImguiTexture& texture, const std::string& tooltip, ImVec2 size, const std::string& gameName)
{
bool pressed = texture.button("", size, gameName);
bool pressed = texture.button("##imagebutton", size, gameName);
gameTooltip(tooltip);
return pressed;