diff options
author | Takumi ASAKI <asaki@sra.co.jp> | 2018-06-07 16:03:04 +0900 |
---|---|---|
committer | Takumi ASAKI <asaki@sra.co.jp> | 2018-06-08 08:04:42 +0000 |
commit | 73b2d7f612c0c01ac55da52612c198b5cac0fa26 (patch) | |
tree | bc0ef4eb3f1f5cc5fbc4e0ea550676e74182ca09 /src/plugins/platforms | |
parent | f7c8a991c300f99da808ef2657b16a976c1dfc7a (diff) |
QNX: Add QQnxEglWindow::format() overload
QQnxEglWindow should return correct QSurfaceFormat.
Task-number: QTBUG-64306
Change-Id: I3ba2a9d84f39af66c3b8f58ae3e26edc695f5612
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxeglwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxeglwindow.h b/src/plugins/platforms/qnx/qqnxeglwindow.h index 3a3840f13c..d8cfd730ac 100644 --- a/src/plugins/platforms/qnx/qqnxeglwindow.h +++ b/src/plugins/platforms/qnx/qqnxeglwindow.h @@ -60,6 +60,8 @@ public: void setGeometry(const QRect &rect) override; + QSurfaceFormat format() const override { return m_format; } + protected: int pixelFormat() const override; void resetBuffers() override; |