mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 23:46:33 -05:00
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:
parent
ebe86985fd
commit
dc4c0e3d3e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user