summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2013-09-18 11:00:24 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 12:03:43 +0200
commit7805d39ca3ae91a0f444966e5a501181c15e3a5f (patch)
treefa3735bfa81a1524fbaca245dc7a7a35caec7185 /src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp
parent2e2289e1b523afaf2feb699fb1e877ab97e706bb (diff)
Fix android after Eglfs binary compatibility break
Change-Id: I95d98b475188b43f1e0946c7ad6fd2388839d619 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp')
-rw-r--r--src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp b/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp
index 917942128f..338966eb40 100644
--- a/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp
+++ b/src/plugins/platforms/android/src/opengl/qeglfshooks_android.cpp
@@ -61,7 +61,7 @@ public:
Qt::ScreenOrientation nativeOrientation() const;
int screenDepth() const;
QSurfaceFormat surfaceFormatFor(const QSurfaceFormat &inputFormat) const;
- EGLNativeWindowType createNativeWindow(const QSize &size, const QSurfaceFormat &format);
+ EGLNativeWindowType createNativeWindow(QPlatformWindow *platformWindow, const QSize &size, const QSurfaceFormat &format);
void destroyNativeWindow(EGLNativeWindowType window);
bool hasCapability(QPlatformIntegration::Capability cap) const;
QEglFSCursor *createCursor(QEglFSScreen *screen) const;
@@ -106,8 +106,9 @@ Qt::ScreenOrientation QEglFSAndroidHooks::nativeOrientation() const
return QAndroidPlatformIntegration::m_nativeOrientation;
}
-EGLNativeWindowType QEglFSAndroidHooks::createNativeWindow(const QSize &size, const QSurfaceFormat &format)
+EGLNativeWindowType QEglFSAndroidHooks::createNativeWindow(QPlatformWindow *platformWindow, const QSize &size, const QSurfaceFormat &format)
{
+ Q_UNUSED(platformWindow);
Q_UNUSED(size);
Q_UNUSED(format);
ANativeWindow *window = QtAndroid::nativeWindow();