Make incomplete framebuffers warn instead of panic
This commit is contained in:
@@ -48,7 +48,7 @@ struct ColourBuffer {
|
|||||||
fbo.bind(OpenGL::DrawAndReadFramebuffer);
|
fbo.bind(OpenGL::DrawAndReadFramebuffer);
|
||||||
|
|
||||||
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) {
|
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) {
|
||||||
Helpers::panic("Incomplete framebuffer");
|
Helpers::warn("ColourBuffer: Incomplete framebuffer");
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: This should not clear the framebuffer contents. It should load them from VRAM.
|
// TODO: This should not clear the framebuffer contents. It should load them from VRAM.
|
||||||
|
|||||||
Reference in New Issue
Block a user