Silence a compiler warning
This commit is contained in:
parent
1c2e41e1b3
commit
ecc086e9eb
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user