Skip to content

Commit 7d8e64a

Browse files
committed
_nextTextureId should start at 1
1 parent c715e23 commit 7d8e64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/ExampleMonoGame/ImGuiRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ImGuiRenderer
2929

3030
// Textures
3131
private readonly Dictionary<ImTextureID, TextureInfo> _textures;
32-
private int _nextTexId;
32+
private int _nextTexId = 1;
3333

3434
// Input
3535
private int _scrollWheelValue;

0 commit comments

Comments
 (0)