diff options
Diffstat (limited to 'src/platformsupport/eglconvenience/qeglplatformcontext_p.h')
-rw-r--r-- | src/platformsupport/eglconvenience/qeglplatformcontext_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext_p.h b/src/platformsupport/eglconvenience/qeglplatformcontext_p.h index 7c05894246..d62082faa2 100644 --- a/src/platformsupport/eglconvenience/qeglplatformcontext_p.h +++ b/src/platformsupport/eglconvenience/qeglplatformcontext_p.h @@ -46,6 +46,8 @@ #include <qpa/qplatformopenglcontext.h> #include <EGL/egl.h> +QT_BEGIN_NAMESPACE + class QEGLPlatformContext : public QPlatformOpenGLContext { public: @@ -79,6 +81,11 @@ private: EGLDisplay m_eglDisplay; EGLConfig m_eglConfig; QSurfaceFormat m_format; + int m_swapInterval; + bool m_swapIntervalEnvChecked; + int m_swapIntervalFromEnv; }; +QT_END_NAMESPACE + #endif //QEGLPLATFORMCONTEXT_H |