| 56 | } |
| 57 | |
| 58 | void RenderTarget::Clear(float r, float g, float b, float a) |
| 59 | { |
| 60 | glBindFramebuffer(GL_FRAMEBUFFER, fbo); |
| 61 | glClearColor(r, g, b, a); |
| 62 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
| 63 | } |
| 64 | |
| 65 | void RenderTarget::Delete() |
| 66 | { |
no outgoing calls
no test coverage detected