From 1cec30f454a74785e9fbba101354016a8e8b62f7 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Wed, 6 Mar 2013 16:38:26 +0000 Subject: 2.66a: * Back port r54747 to 2.66a tag to fix Windows compile error. --- intern/ghost/intern/GHOST_WindowWin32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 93f9ccbf1eb..89fece50caa 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -712,7 +712,7 @@ GHOST_TSuccess GHOST_WindowWin32::initMultisample(PIXELFORMATDESCRIPTOR pfd) WGL_ACCELERATION_ARB, WGL_FULL_ACCELERATION_ARB, WGL_COLOR_BITS_ARB, pfd.cColorBits, WGL_DEPTH_BITS_ARB, pfd.cDepthBits, - WGL_ALPHA_BITS_ART, pfd.cAlphaBits, + WGL_ALPHA_BITS_ARB, pfd.cAlphaBits, WGL_STENCIL_BITS_ARB, pfd.cStencilBits, WGL_DOUBLE_BUFFER_ARB, GL_TRUE, WGL_SAMPLE_BUFFERS_ARB, GL_TRUE, @@ -1322,7 +1322,7 @@ static int WeightPixelFormat(PIXELFORMATDESCRIPTOR& pfd) weight += pfd.cColorBits - 8; - if (pdf.cAlphaBits > 0) + if (pfd.cAlphaBits > 0) weight ++; /* want swap copy capability -- it matters a lot */ -- cgit v1.2.3