| 157 | } |
| 158 | |
| 159 | void sample_gl_render_offscreen::on_update(const app_update_event & e) |
| 160 | { |
| 161 | int width, height; |
| 162 | glfwGetWindowSize(window, &width, &height); |
| 163 | shader_mon.handle_recompile(); |
| 164 | flycam.update(e.timestep_ms); |
| 165 | } |
| 166 | |
| 167 | void sample_gl_render_offscreen::on_draw() |
| 168 | { |
nothing calls this directly
no test coverage detected