[plugins/qpa] Add debug output in configFromGLFormat

We might need to know what kind of EGLConfig Qt wants.
This commit is contained in:
Martin Gräßlin 2016-07-19 08:13:22 +02:00
parent 54126e4571
commit 5dcaad7fe8

View file

@ -50,6 +50,7 @@ static EGLConfig configFromGLFormat(EGLDisplay dpy, const QSurfaceFormat &format
EGL_RENDERABLE_TYPE, isOpenGLES() ? EGL_OPENGL_ES2_BIT : EGL_OPENGL_BIT,
EGL_NONE,
};
qCDebug(KWIN_QPA) << "Trying to find a format with: rgba/depth/stencil" << (SIZE(red)) << (SIZE(green)) <<( SIZE(blue)) << (SIZE(alpha)) << (SIZE(depth)) << (SIZE(stencil));
#undef SIZE
EGLint count;