* clutter/clutter-shader.c: (bind_glsl_shader): use gchar instead of
authorØyvind Kolås <pippin@openedhand.com>
Tue, 4 Dec 2007 09:13:06 +0000 (09:13 +0000)
committerØyvind Kolås <pippin@openedhand.com>
Tue, 4 Dec 2007 09:13:06 +0000 (09:13 +0000)
GLcharARB.

ChangeLog
clutter/clutter-shader.c

index f82354f..92c32d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 6f0074b..56f3ed8 100644 (file)
@@ -154,8 +154,9 @@ static gboolean bind_glsl_shader (ClutterShader *self)
                                    &compiled);
       if (compiled != CGL_TRUE)
         {
-          GLcharARB *buffer;
-          gint       max_length = 512;
+          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);