summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglconvenience
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-08-06 14:31:15 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-08-06 14:31:15 (GMT)
commiteaf64f3a07533a30aa29eed85f6a3cbc744722a4 (patch)
treec55151c1b627b00cfc1c92bf67bb524c05c182db /src/plugins/platforms/eglconvenience
parent47bed030ffedded5914d8309bf2e1cccc1fd78d0 (diff)
downloadQt-eaf64f3a07533a30aa29eed85f6a3cbc744722a4.zip
Qt-eaf64f3a07533a30aa29eed85f6a3cbc744722a4.tar.gz
Qt-eaf64f3a07533a30aa29eed85f6a3cbc744722a4.tar.bz2
Cleaned up in includes in Lighthouse headerfiles
Diffstat (limited to 'src/plugins/platforms/eglconvenience')
-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)