From 73b2d7f612c0c01ac55da52612c198b5cac0fa26 Mon Sep 17 00:00:00 2001 From: Takumi ASAKI Date: Thu, 7 Jun 2018 16:03:04 +0900 Subject: QNX: Add QQnxEglWindow::format() overload QQnxEglWindow should return correct QSurfaceFormat. Task-number: QTBUG-64306 Change-Id: I3ba2a9d84f39af66c3b8f58ae3e26edc695f5612 Reviewed-by: James McDonnell --- src/plugins/platforms/qnx/qqnxeglwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/platforms/qnx') 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; -- cgit v1.2.3