From 41ec02c8b5c8cfc3977e3cd03bbe7c1445dffeeb Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 18 Nov 2008 16:23:40 +0000 Subject: [PATCH] * 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. --- ChangeLog | 7 +++++++ clutter/cogl/gl/cogl-internal.h | 2 +- clutter/cogl/gles/cogl-internal.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78b50deb0..621108a41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-18 Robert Bragg + + * 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 * clutter/clutter.h: Add clutter-shader.h and diff --git a/clutter/cogl/gl/cogl-internal.h b/clutter/cogl/gl/cogl-internal.h index bfc7cc73f..64d5b2790 100644 --- a/clutter/cogl/gl/cogl-internal.h +++ b/clutter/cogl/gl/cogl-internal.h @@ -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 */ diff --git a/clutter/cogl/gles/cogl-internal.h b/clutter/cogl/gles/cogl-internal.h index 8ca926ece..c17c5e24f 100644 --- a/clutter/cogl/gles/cogl-internal.h +++ b/clutter/cogl/gles/cogl-internal.h @@ -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 */