We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d409a commit 9eda42fCopy full SHA for 9eda42f
imgui-SFML.cpp
@@ -1040,7 +1040,7 @@ void RenderDrawLists(ImDrawData* draw_data)
1040
(int)(clip_rect.w - clip_rect.y));
1041
1042
// Bind texture, Draw
1043
- const GLuint textureHandle = convertImTextureIDToGLTextureHandle(pcmd->TextureId);
+ const GLuint textureHandle = convertImTextureIDToGLTextureHandle(pcmd->GetTexID());
1044
glBindTexture(GL_TEXTURE_2D, textureHandle);
1045
glDrawElements(GL_TRIANGLES,
1046
(GLsizei)pcmd->ElemCount,
0 commit comments