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
After loading a texture with Raylib.LoadTexture(), which Raylib loads correctly, my program crashes when rendering the frame with ImGui.Image(texture.Id, new(24, 24)) and ImGui.ImageButton(some_id, texture.Id, new(24, 24)), in ImGuiRaylib.cs at the method ImGuiRenderTriangles.
I'm not sure if this is a bug or if I am doing something wrong.
For the record, I'm getting my texture ID with : texture.Id, which I do think is the correct way to do it.
Creating a ImTextureID struct from the texture causes the same crash.