diff --git a/src/gui/opengl/qopengltexturehelper_p.h b/src/gui/opengl/qopengltexturehelper_p.h index fa4bd81..4eddb26 100644 --- a/src/gui/opengl/qopengltexturehelper_p.h +++ b/src/gui/opengl/qopengltexturehelper_p.h @@ -42,7 +42,7 @@ #ifndef QOPENGLTEXTUREHELPER_P_H #define QOPENGLTEXTUREHELPER_P_H -#include +#include #ifndef QT_NO_OPENGL @@ -745,6 +745,7 @@ public: // OpenGL 1.1 inline void glGenTextures(GLsizei n, GLuint *textures) { + qDebug() << __FUNCTION__ << GenTextures; GenTextures(n, textures); } diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp index 714ad8a..51a4881 100644 --- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp +++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp @@ -44,6 +44,7 @@ #include "qeglconvenience_p.h" #include +#include #include @@ -188,7 +189,9 @@ void (*QEGLPlatformContext::getProcAddress(const QByteArray &procName)) () qWarning("QEglContext::getProcAddress%p\n",this); #endif bindApi(m_format); - return eglGetProcAddress(procName.constData()); + void (*result)() = eglGetProcAddress(procName.constData()); + qDebug() << __FUNCTION__ << procName << result; + return result; } QSurfaceFormat QEGLPlatformContext::format() const