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.
This commit is contained in:
Robert Bragg 2010-04-30 12:10:16 +01:00
parent ebe86985fd
commit dc4c0e3d3e

View File

@ -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