From 566d495ffef70ff9ea038ab2a83dc7b435eecbb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Fri, 5 Apr 2013 22:14:35 +0000 Subject: [PATCH] iOS default value doesn't build. --- src/gpu/framebuffer.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;