Silence a compiler warning

This commit is contained in:
Emmanuele Bassi 2010-08-09 19:38:23 +01:00
parent 1c2e41e1b3
commit ecc086e9eb

View File

@ -155,6 +155,9 @@ cogl_shader_source (CoglHandle handle,
case COGL_SHADER_TYPE_FRAGMENT: case COGL_SHADER_TYPE_FRAGMENT:
gl_type = GL_FRAGMENT_SHADER; gl_type = GL_FRAGMENT_SHADER;
break; break;
default:
g_assert_not_reached ();
break;
} }
shader->gl_handle = glCreateShader (gl_type); shader->gl_handle = glCreateShader (gl_type);