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; }