From 2b4dff8dc180db0d96904b8ebfe109b2698999a5 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Fri, 12 Apr 2013 15:07:12 +0200 Subject: Make surface and window accessible to subclasses We need to access these in the Android plugin. Change-Id: I8c7f279bbe0b7087260cceb1f965c833c0097984 Reviewed-by: Paul Olav Tvete --- src/plugins/platforms/eglfs/qeglfswindow.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/plugins/platforms/eglfs') diff --git a/src/plugins/platforms/eglfs/qeglfswindow.h b/src/plugins/platforms/eglfs/qeglfswindow.h index a351b4a6f4..67a64973ce 100644 --- a/src/plugins/platforms/eglfs/qeglfswindow.h +++ b/src/plugins/platforms/eglfs/qeglfswindow.h @@ -68,10 +68,12 @@ public: virtual void invalidateSurface(); virtual void resetSurface(); -private: - WId m_winid; +protected: EGLSurface m_surface; EGLNativeWindowType m_window; + +private: + WId m_winid; EGLConfig m_config; QSurfaceFormat m_format; }; -- cgit v1.2.3