* clutter/clutter-shader.c (bind_glsl_shader): Fix a cut-and-paste
error which broke vertex shaders
This commit is contained in:
parent
60341ad959
commit
0ee57b37cd
@ -1,3 +1,8 @@
|
||||
2008-07-03 Neil Roberts <neil@o-hand.com>
|
||||
|
||||
* clutter/clutter-shader.c (bind_glsl_shader): Fix a cut-and-paste
|
||||
error which broke vertex shaders
|
||||
|
||||
2008-07-03 Øyvind Kolås <pippin@o-hand.com>
|
||||
|
||||
* clutter/cogl/common/cogl-bitmap-pixbuf.c:
|
||||
|
@ -414,14 +414,14 @@ bind_glsl_shader (ClutterShader *self,
|
||||
cogl_shader_source (priv->vertex_shader, priv->vertex_source);
|
||||
cogl_shader_compile (priv->vertex_shader);
|
||||
|
||||
cogl_shader_get_parameteriv (priv->fragment_shader,
|
||||
cogl_shader_get_parameteriv (priv->vertex_shader,
|
||||
CGL_OBJECT_COMPILE_STATUS,
|
||||
&compiled);
|
||||
if (compiled != CGL_TRUE)
|
||||
{
|
||||
gchar error_buf[512];
|
||||
|
||||
cogl_shader_get_info_log (priv->fragment_shader, 512, error_buf);
|
||||
cogl_shader_get_info_log (priv->vertex_shader, 512, error_buf);
|
||||
|
||||
g_set_error (error, CLUTTER_SHADER_ERROR,
|
||||
CLUTTER_SHADER_ERROR_COMPILE,
|
||||
|
Loading…
Reference in New Issue
Block a user