diff --git a/src/gpu/framebuffer.cpp b/src/gpu/framebuffer.cpp index 4549b7bc..5bdaba24 100644 --- a/src/gpu/framebuffer.cpp +++ b/src/gpu/framebuffer.cpp @@ -145,6 +145,9 @@ uint32_t FramebufferFormat::GetFormat() case RG_32_F: case RGB_32_F: case RGBA_32_F: return GL_FLOAT; + + default: ASSERT(false, "not supported by IOS:OGL:ES"); + return 0; #else case R_8: return GL_R8; case R_8_I: return GL_R8I;