Browse Source

iOS default value doesn't build.

legacy
Benjamin ‘Touky’ Huet touky 11 years ago
parent
commit
566d495ffe
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/gpu/framebuffer.cpp

+ 3
- 0
src/gpu/framebuffer.cpp View File

@@ -145,6 +145,9 @@ uint32_t FramebufferFormat::GetFormat()
case RG_32_F: case RG_32_F:
case RGB_32_F: case RGB_32_F:
case RGBA_32_F: return GL_FLOAT; case RGBA_32_F: return GL_FLOAT;

default: ASSERT(false, "not supported by IOS:OGL:ES");
return 0;
#else #else
case R_8: return GL_R8; case R_8: return GL_R8;
case R_8_I: return GL_R8I; case R_8_I: return GL_R8I;


Loading…
Cancel
Save