From dc4c0e3d3e7a6471a932640554fdd2f171d38f1f Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Fri, 30 Apr 2010 12:10:16 +0100 Subject: [PATCH] debug: wrap glClear calls with the GE macro This adds a GE macro wrapper around our calls to glClear so we can print a warning for any errors reported by the driver. --- cogl/cogl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl.c b/cogl/cogl.c index 2c1391e36..0355af20d 100644 --- a/cogl/cogl.c +++ b/cogl/cogl.c @@ -189,7 +189,7 @@ cogl_clear (const CoglColor *color, unsigned long buffers) return; } - glClear (gl_buffers); + GE (glClear (gl_buffers)); /* This is a debugging variable used to visually display the quad batches from the journal. It is reset here to increase the