Fix C++11 mode compilation with MinGW-w64 4.7.1
Change-Id: I8b840ece7341877fb6f5d6a85d8714517034e319 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
377171ca0c
commit
e6de6c153e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user