From 2e6bb11201eb900a889474e95999c38e171b584d Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Thu, 21 May 2009 15:04:38 +0100 Subject: [PATCH] [build] The cogl GE macro wasn't passing an int according to the format string This patch simply updates the arguments passed to g_warning inline with the given format string. --- common/cogl-internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/cogl-internal.h b/common/cogl-internal.h index f148c35b6..980e2a886 100644 --- a/common/cogl-internal.h +++ b/common/cogl-internal.h @@ -62,6 +62,7 @@ const gchar *cogl_gl_error_to_string (GLenum error_code); { \ g_warning ("%s: GL error (%d): %s\n", \ G_STRLOC, \ + __err, \ cogl_gl_error_to_string (__err)); \ } } G_STMT_END