summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-07-25 14:55:45 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-07-26 12:02:32 +0200
commite4042435ba15e6da669f541cd43580f85dbeae3f (patch)
tree527211f3055fb46e09eadb518c5163861020328d /src/plugins/platforms/eglfs/qeglfsscreen.h
parentc7c8a38ec313b998d0df76cd15fa360f56d213e2 (diff)
Get the eglfs plugin compiling.
Change-Id: I5addb1a2593a670d559b9fbf9183f52af410895b Reviewed-on: http://codereview.qt.nokia.com/2176 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.h')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h
index 5cf1daca6f..230acf3a4b 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.h
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.h
@@ -64,6 +64,8 @@ public:
QPlatformGLContext *platformContext() const;
+ EGLSurface surface() const { return m_surface; }
+
private:
void createAndSetPlatformContext() const;
void createAndSetPlatformContext();