From 242afd96ebd11b430f6c95118883b484f6f73ca8 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 9 Aug 2010 19:38:23 +0100 Subject: [PATCH] Silence a compiler warning --- cogl/cogl-shader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogl/cogl-shader.c b/cogl/cogl-shader.c index 50f444c6f..46e2b93c9 100644 --- a/cogl/cogl-shader.c +++ b/cogl/cogl-shader.c @@ -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);