From 6731dfa468cffe0db1c1c3de621faddfed04bb54 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. --- gl/cogl-internal.h | 2 +- gles/cogl-internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gl/cogl-internal.h b/gl/cogl-internal.h index bfc7cc73f..64d5b2790 100644 --- a/gl/cogl-internal.h +++ b/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/gles/cogl-internal.h b/gles/cogl-internal.h index 8ca926ece..c17c5e24f 100644 --- a/gles/cogl-internal.h +++ b/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 */