Fix macOS debug build crash by providing a non empty ID (for the root of a window)
This commit is contained in:
parent
8ddbe9212a
commit
24e579ed99
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue