From 48497355395eb542df95f43471f96ce09c9e4b94 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 2 Feb 2015 15:13:28 +0100 Subject: [PATCH] Remove todo note about QXcbWindow::format() It _is_ the actual format after create(). This is true at least since modularizing the GLX and EGL integration. See resolveFormat() in the integration plugins. This is important to clarify since other platform plugins usually return the input (requested) format as-is. We must therefore be careful with misleading notes as the situation is complicated enough already. Change-Id: I8e394680fa8fe3c80941a2a08fa873f831d6403c Reviewed-by: Andy Nichols --- src/plugins/platforms/xcb/qxcbwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 8dd6b6c1a6..c407caae2f 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -1524,7 +1524,6 @@ void QXcbWindow::requestActivateWindow() QSurfaceFormat QXcbWindow::format() const { - // ### return actual format return m_format; }