From 82d6518696cdfeec88b7bdbffccc5b1521c18785 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 26 Oct 2011 16:09:37 +0200 Subject: Windows: Fix Open GL formats. - Add swapInterval as additional format - Query context format correctly and store in separate struct (default vs requested/obtained) - Cosmetics, rename enumerations, structs. Change-Id: I381cf8e1bde33e6624feb549437c7b95dd85e93c Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qwindowswindow.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/plugins/platforms/windows/qwindowswindow.h') diff --git a/src/plugins/platforms/windows/qwindowswindow.h b/src/plugins/platforms/windows/qwindowswindow.h index 42fff8b362..2aaf722277 100644 --- a/src/plugins/platforms/windows/qwindowswindow.h +++ b/src/plugins/platforms/windows/qwindowswindow.h @@ -95,10 +95,12 @@ class QWindowsWindow : public QPlatformWindow public: enum Flags { - OpenGL_Surface = 0x1, - WithinWmPaint = 0x2, - PixelFormatInitialized = 0x4, - FrameDirty = 0x8 //! Frame outdated by setStyle, recalculate in next query. + WithinWmPaint = 0x1, + WithinSetParent = 0x2, + FrameDirty = 0x4, //! Frame outdated by setStyle, recalculate in next query. + OpenGLSurface = 0x10, + OpenGLDoubleBuffered = 0x20, + OpenGlPixelFormatInitialized = 0x40 }; struct WindowData -- cgit v1.2.3