| 290 | } |
| 291 | |
| 292 | void Graphics::bindFramebuffer(GLuint fb) { |
| 293 | curr_framebuffer = fb; |
| 294 | CHECK_GL_ERROR(); |
| 295 | glBindFramebuffer(GL_FRAMEBUFFER, fb); |
| 296 | CHECK_GL_ERROR(); |
| 297 | } |
| 298 | |
| 299 | void Graphics::framebufferDepthTexture2D(TextureRef t, int mipmap_level) { |
| 300 | CHECK_GL_ERROR(); |
no outgoing calls
no test coverage detected