GdkGLContext: Add a GL debug message callback
authorTimm Bäder <mail@baedert.org>
Sun, 25 Mar 2018 13:28:40 +0000 (15:28 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 25 Mar 2018 19:04:36 +0000 (21:04 +0200)
commit98a9f2b3c10c33245396c2c03ef77292846d9cd6
treebdc401643207704711d93f489a90c1589907be7d
parent433517fdc914eedf1cee2c955180a5b8953d3f6e
GdkGLContext: Add a GL debug message callback

If G_ENABLE_CONSISTENCY_CHECKS is defined (i.e. if our buildtype is
'debug'), add a opengl debug callback that prints all debug messages
with a severity higher than SEVERITY_NOTIFICATION as a warning to the
console.
gdk/gdkglcontext.c