-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Closed
Labels
drawing/drawlistlabel/id and id stackimplicit identifiers, pushid(), id stackimplicit identifiers, pushid(), id stack
Description
Hello
I am creating a texture which loads an icon like so
SDL_Texture* Texture = Load("SomePath.png");
I then create two buttons with the same texture
ImGui::ImageButton(Texture, SomeSize);
ImGui::ImageButton(Texture, SomeSize);
When doing this, only the first button works... Isn't the SDL_Texture pointer the id for the image button?
Metadata
Metadata
Assignees
Labels
drawing/drawlistlabel/id and id stackimplicit identifiers, pushid(), id stackimplicit identifiers, pushid(), id stack