From 1a24fb898cd03721f63e6887ae097fc6bbfae0ab Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 8 Apr 2013 06:53:12 +0000 Subject: [PATCH] gpu: OS X and iOS compilation fix. --- src/gpu/framebuffer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gpu/framebuffer.cpp b/src/gpu/framebuffer.cpp index 8a6df89e..26900fbf 100644 --- a/src/gpu/framebuffer.cpp +++ b/src/gpu/framebuffer.cpp @@ -245,10 +245,6 @@ uint32_t FramebufferFormat::GetFormatOrder() return GL_UNSIGNED_INT; case R_32_F: case RG_32_F: case RGB_32_F: case RGBA_32_F: return GL_FLOAT; - - default: - ASSERT(false, "unsupported framebuffer format order %d", m_format); - return 0; #else case R_8: case R_8_I: case R_8_UI: case R_8_F: case R_16: case R_16_I: case R_16_UI: case R_16_F: