diff options
author | lazydodo <github@lazydodo.com> | 2016-09-01 23:00:20 +0300 |
---|---|---|
committer | lazydodo <github@lazydodo.com> | 2016-09-01 23:00:20 +0300 |
commit | f0159d1d48a141483f61b1ccc262f99016b63570 (patch) | |
tree | 5f8b098655772e33b2f155fb8c7a8dcc5c62bb17 /intern/ghost | |
parent | 159ac3f638df5b1a569aaab8800de9671f0667c9 (diff) |
Fix T49215
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextWGL.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp index abce3ea6588..64ee692797b 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; |