* clutter/cogl/gl/cogl-internal.h
authorRobert Bragg <bob@openedhand.com>
Tue, 18 Nov 2008 16:23:40 +0000 (16:23 +0000)
committerRobert Bragg <bob@openedhand.com>
Tue, 18 Nov 2008 16:23:40 +0000 (16:23 +0000)
* clutter/cogl/gles/cogl-internal.h:
Removes semicolon after the GE() macro since that breaks using it as a
single statement.

ChangeLog
clutter/cogl/gl/cogl-internal.h
clutter/cogl/gles/cogl-internal.h

index 78b50de..621108a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-18  Robert Bragg  <robert@linux.intel.com>
+
+       * clutter/cogl/gl/cogl-internal.h
+       * clutter/cogl/gles/cogl-internal.h:
+       Removes semicolon after the GE() macro since that breaks using it as a
+       single statement.
+
 2008-11-18  Emmanuele Bassi  <ebassi@linux.intel.com>
 
        * clutter/clutter.h: Add clutter-shader.h and
index bfc7cc7..64d5b27 100644 (file)
@@ -46,7 +46,7 @@ const char *_cogl_error_string(GLenum errorCode);
 
 #else /* COGL_DEBUG */
 
-#define GE(x) (x);
+#define GE(x) (x)
 
 #endif /* COGL_DEBUG */
 
index 8ca926e..c17c5e2 100644 (file)
@@ -70,7 +70,7 @@ const char *_cogl_error_string(GLenum errorCode);
 
 #else /* COGL_DEBUG */
 
-#define GE(x) (x);
+#define GE(x) (x)
 
 #endif /* COGL_DEBUG */