diff options
author | Yuchen Deng <loaden@gmail.com> | 2012-08-20 13:03:36 +0800 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-20 16:57:36 +0200 |
commit | e6de6c153eea5c95b9b676ba53c4470963e6f133 (patch) | |
tree | 9d4fec6c7245e80df8cc3a0f355fb1c6b37a3109 /src | |
parent | 377171ca0c8410488a7f522fd199a841fa69dae5 (diff) |
Fix C++11 mode compilation with MinGW-w64 4.7.1
Change-Id: I8b840ece7341877fb6f5d6a85d8714517034e319
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsglcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/windows/qwindowsglcontext.cpp b/src/plugins/platforms/windows/qwindowsglcontext.cpp index b93ead61c9..dcc3725708 100644 --- a/src/plugins/platforms/windows/qwindowsglcontext.cpp +++ b/src/plugins/platforms/windows/qwindowsglcontext.cpp @@ -807,8 +807,8 @@ QOpenGLStaticContext::QOpenGLStaticContext() : wglSwapInternalExt((WglSwapInternalExt)wglGetProcAddress("wglSwapIntervalEXT")), wglGetSwapInternalExt((WglGetSwapInternalExt)wglGetProcAddress("wglGetSwapIntervalEXT")) { - if (extensionNames.startsWith(SAMPLE_BUFFER_EXTENSION" ") - || extensionNames.indexOf(" "SAMPLE_BUFFER_EXTENSION" ") != -1) + if (extensionNames.startsWith(SAMPLE_BUFFER_EXTENSION " ") + || extensionNames.indexOf(" " SAMPLE_BUFFER_EXTENSION " ") != -1) extensions |= SampleBuffers; } |