projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
159ac3f
)
Fix T49215
author
lazydodo <github@lazydodo.com>
Thu, 1 Sep 2016 20:00:20 +0000
(14:00 -0600)
committer
lazydodo <github@lazydodo.com>
Thu, 1 Sep 2016 20:00:20 +0000
(14:00 -0600)
intern/ghost/intern/GHOST_ContextWGL.cpp
patch
|
blob
|
history
diff --git
a/intern/ghost/intern/GHOST_ContextWGL.cpp
b/intern/ghost/intern/GHOST_ContextWGL.cpp
index abce3ea65887c2089d5bbb2ef3df16407fe5bdbc..64ee692797b5ee87c861a77bd3a5de837ffa3d5d 100644
(file)
--- 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;