Silence a compiler warning

This commit is contained in:
Emmanuele Bassi 2010-08-09 19:38:23 +01:00
parent 786e292671
commit 242afd96eb

View File

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