In the current, non-qt branch the Fonts are obtained using the GLFW window id as part of a key into an std::map. In the main branch at the time of writing, the GLFW window id is obtained with glfwGetCurrentContext(), which may return 0x0 if there is no window context. We ran into this with drawing windows within a ros2 program. Happily, the indexing system has been redesigned in soon-to-be-merged code in branch
/redesign/qtcompatibility
In the current, non-qt branch the Fonts are obtained using the GLFW window id as part of a key into an
std::map
. In the main branch at the time of writing, the GLFW window id is obtained withglfwGetCurrentContext()
, which may return 0x0 if there is no window context. We ran into this with drawing windows within a ros2 program. Happily, the indexing system has been redesigned in soon-to-be-merged code in branch /redesign/qtcompatibility