* clutter/clutter-shader.c: (bind_glsl_shader): use gchar instead of

GLcharARB.
This commit is contained in:
Øyvind Kolås 2007-12-04 09:13:06 +00:00
parent 4de11937e6
commit 094c5f77b8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-12-04 Øyvind Kolås <pippin@o-hand.com>
* clutter/clutter-shader.c: (bind_glsl_shader): use gchar instead of
GLcharARB.
2007-12-03 Øyvind Kolås <pippin@o-hand.com>
* clutter/clutter-shader.[ch]: do not include GL.h.

View File

@ -154,8 +154,9 @@ static gboolean bind_glsl_shader (ClutterShader *self)
&compiled);
if (compiled != CGL_TRUE)
{
GLcharARB *buffer;
gchar *buffer;
gint max_length = 512;
buffer = g_malloc (max_length);
cogl_shader_get_info_log (priv->fragment_shader, max_length, buffer);
g_print ("Shader compilation failed:\n%s", buffer);