| 1166 | } |
| 1167 | |
| 1168 | void 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 | } |
nothing calls this directly
no test coverage detected