Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-12-06 20:18:35 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-12-06 20:18:35 +0400
commit77efd71cf8df00cc0fa8f4512c23614fba4fa3ba (patch)
treedfd45dacef694066b49d70d8aaa869a2ea44567b
parentc20292f624de7b81353821c2d3eab70b4c17bbd0 (diff)
Disable multisamples on windows for intel cards
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.
-rw-r--r--intern/ghost/intern/GHOST_WindowWin32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp
index dded7dc256d..fead1884f8a 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/intern/ghost/intern/GHOST_WindowWin32.cpp
@@ -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);