Fix T49215
authorlazydodo <github@lazydodo.com>
Thu, 1 Sep 2016 20:00:20 +0000 (14:00 -0600)
committerlazydodo <github@lazydodo.com>
Thu, 1 Sep 2016 20:00:20 +0000 (14:00 -0600)
intern/ghost/intern/GHOST_ContextWGL.cpp

index abce3ea65887c2089d5bbb2ef3df16407fe5bdbc..64ee692797b5ee87c861a77bd3a5de837ffa3d5d 100644 (file)
@@ -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;