* clutter/clutter-shader.c: (bind_glsl_shader): use gchar instead of
GLcharARB.
This commit is contained in:
parent
4de11937e6
commit
094c5f77b8
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user