Disable multisamples on windows for intel cards
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 6 Dec 2012 16:18:35 +0000 (16:18 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 6 Dec 2012 16:18:35 +0000 (16:18 +0000)
This doesn't work nice currently and there's no simple workaround for this,
it'll require lots of statistics about cards and some further investigation
on supported combination of draw methods and multisamples supports.

For the release better be more stable and do not deliver dangerous option.

intern/ghost/intern/GHOST_WindowWin32.cpp

index dded7dc256dca3b91f65e3a01d81a83c94209a36..fead1884f8ab2cc9f61b0bb047d82063475c32e0 100644 (file)
@@ -868,7 +868,7 @@ GHOST_TSuccess GHOST_WindowWin32::installDrawingContext(GHOST_TDrawingContextTyp
                                }
 
                                // Attempt to enable multisample
-                               if (m_multisample && WGL_ARB_multisample && !m_multisampleEnabled)
+                               if (m_multisample && WGL_ARB_multisample && !m_multisampleEnabled && !is_crappy_intel_card())
                                {
                                        success = initMultisample(preferredFormat);