-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
The interior of modal windows is grayed out in the backend, rather than the exterior area. This seems to be a documented issue with some backends with a newer Dear Imgui version
Documented here: https://github.com/ocornut/imgui/releases/tag/v1.86
I was able to fix it by changing some lines in the opengl renderer
gl.glDrawElements(
gl.GL_TRIANGLES,
command.elem_count,
gltype,
ctypes.c_void_p(idx_buffer_offset),
)
to
gl.glDrawElements(
gl.GL_TRIANGLES,
command.elem_count,
gltype,
ctypes.c_void_p(command.idx_offset * imgui.INDEX_SIZE)
)
I don't really know opengl too well, but it seems to work fine.
Metadata
Metadata
Assignees
Labels
No labels