Actually compiled
This commit is contained in:
@@ -102,16 +102,12 @@ void frameBufferBind(const framebuffer_t *framebuffer) {
|
||||
if(framebuffer == &FRAMEBUFFER_BACKBUFFER) {
|
||||
#if PSP
|
||||
|
||||
#elif DOLPHIN
|
||||
|
||||
#else
|
||||
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
|
||||
#endif
|
||||
} else {
|
||||
#if PSP
|
||||
assertUnreachable("Framebuffers not supported on PSP");
|
||||
#elif DOLPHIN
|
||||
assertUnreachable("Framebuffers not supported on DOLPHIN");
|
||||
#else
|
||||
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, framebuffer->id);
|
||||
#endif
|
||||
@@ -144,11 +140,7 @@ void frameBufferClear(uint8_t flags, color_t color) {
|
||||
glFlags |= GL_DEPTH_BUFFER_BIT;
|
||||
}
|
||||
|
||||
#if DOLPHIN
|
||||
assertUnreachable("Framebuffers not supported on DOLPHIN");
|
||||
#else
|
||||
glClear(glFlags);
|
||||
#endif
|
||||
glClear(glFlags);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user