MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / breakPointMainLoop

Method breakPointMainLoop

GUI/OpenGL/MiniGL.cpp:1168–1188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166}
1167
1168void MiniGL::breakPointMainLoop()
1169{
1170 if (m_breakPointActive)
1171 {
1172 m_breakPointLoop = true;
1173 while (m_breakPointLoop)
1174 {
1175 glPolygonMode(GL_FRONT_AND_BACK, drawMode);
1176 viewport();
1177
1178 if (scenefunc != nullptr)
1179 scenefunc();
1180
1181 if (m_vsync)
1182 glfwSwapBuffers(m_glfw_window);
1183 else
1184 glFlush();
1185 glfwPollEvents();
1186 }
1187 }
1188}

Callers

nothing calls this directly

Calls 2

glfwSwapBuffersFunction · 0.85
glfwPollEventsFunction · 0.85

Tested by

no test coverage detected