summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.h
diff options
context:
space:
mode:
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();