Fix T49215

This commit is contained in:
Ray molenkamp 2016-09-01 14:00:20 -06:00
parent 159ac3f638
commit f0159d1d48
Notes: blender-bot 2023-02-14 07:38:39 +01:00
Referenced by issue #49226, Incorrect Material viewport shading of Cycles Normal Map node in Edit mode for an object with Array modifier.
Referenced by issue #49215, Last Nvidia drivers (372.70) and Blender (2.77a) turn off Windows Aero
1 changed files with 1 additions and 0 deletions

View 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;