Dominaezzz / kotlin-imgui

Kotlin bindings for Dear ImGui
MIT License
83 stars 4 forks source link

Fix minor bug that causes debug message #10

Closed nlbuescher closed 4 years ago

nlbuescher commented 4 years ago

glBindTexture doesn't allow binding to a GL_ARRAY_BUFFER target and results in a GL_INVALID_ENUM error. It didn't crash the app in my use case, but did spam the console with a needless error.

Dominaezzz commented 4 years ago

Thanks for the PR!