summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/eglconvenience/qeglconvenience.h2
-rw-r--r--src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.h b/src/plugins/platforms/eglconvenience/qeglconvenience.h
index 12731e1..484894b 100644
--- a/src/plugins/platforms/eglconvenience/qeglconvenience.h
+++ b/src/plugins/platforms/eglconvenience/qeglconvenience.h
@@ -41,11 +41,11 @@
#ifndef QEGLCONVENIENCE_H
#define QEGLCONVENIENCE_H
-#include <EGL/egl.h>
#include <QtGui/QPlatformWindowFormat>
#include <QtCore/QVector>
+#include <EGL/egl.h>
QT_BEGIN_NAMESPACE
QVector<EGLint> q_createConfigAttributesFromFormat(const QPlatformWindowFormat &format);
diff --git a/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp b/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp
index 87cd958..04720b5 100644
--- a/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp
+++ b/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp
@@ -41,12 +41,13 @@
#include "qeglplatformcontext.h"
-#include <EGL/egl.h>
#include <QtGui/QPlatformWindow>
#include "qeglconvenience.h"
+#include <EGL/egl.h>
+
QEGLPlatformContext::QEGLPlatformContext(EGLDisplay display, EGLConfig config, EGLint contextAttrs[], EGLSurface surface, EGLenum eglApi)
: QPlatformGLContext()
, m_eglDisplay(display)