diff --git a/cogl/cogl-shader.c b/cogl/cogl-shader.c index 46e2b93c9..a08bff57e 100644 --- a/cogl/cogl-shader.c +++ b/cogl/cogl-shader.c @@ -129,8 +129,8 @@ cogl_shader_source (CoglHandle handle, g_free (shader->arbfp_source); shader->arbfp_source = NULL; } -#endif else +#endif { if (shader->gl_handle) GE (glDeleteShader (shader->gl_handle));