| 58 | } |
| 59 | |
| 60 | bool opengl::render_data() { |
| 61 | bool r = opengl_embed::render_data(); |
| 62 | // Swap buffers and poll IO events |
| 63 | glfwSwapBuffers(window_); |
| 64 | glfwPollEvents(); |
| 65 | this_window_in_context_.unlock(); |
| 66 | return r; |
| 67 | } |
| 68 | |
| 69 | bool opengl::should_close() { |
| 70 | return glfwWindowShouldClose(window_); |
no outgoing calls
no test coverage detected