[Bf-blender-cvs] [f0159d1] master: Fix T49215
lazydodo
noreply at git.blender.org
Thu Sep 1 22:00:33 CEST 2016
Commit: f0159d1d48a141483f61b1ccc262f99016b63570
Author: lazydodo
Date: Thu Sep 1 14:00:20 2016 -0600
Branches: master
https://developer.blender.org/rBf0159d1d48a141483f61b1ccc262f99016b63570
Fix T49215
===================================================================
M intern/ghost/intern/GHOST_ContextWGL.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp
index abce3ea..64ee692 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -183,6 +183,7 @@ static int weight_pixel_format(PIXELFORMATDESCRIPTOR &pfd, PIXELFORMATDESCRIPTOR
!(pfd.dwFlags & PFD_DOUBLEBUFFER) || /* Blender _needs_ this */
!(pfd.iPixelType == PFD_TYPE_RGBA) ||
(pfd.cDepthBits < 16) ||
+ (pfd.cColorBits > 32) || /* 64 bit formats disable aero */
(pfd.dwFlags & PFD_GENERIC_FORMAT)) /* no software renderers */
{
return 0;
More information about the Bf-blender-cvs
mailing list