| 297 | } |
| 298 | |
| 299 | void Graphics::framebufferDepthTexture2D(TextureRef t, int mipmap_level) { |
| 300 | CHECK_GL_ERROR(); |
| 301 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, Textures::Instance()->returnTexture(t), mipmap_level); |
| 302 | CHECK_GL_ERROR(); |
| 303 | } |
| 304 | |
| 305 | // #pragma optimize("",off) |
| 306 | void Graphics::framebufferColorTexture2D(TextureRef t, int mipmap_level) { |
no test coverage detected