From d77418efede2908d4287d3c4ee235eb6678d76be Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 28 Jun 2012 19:31:38 +0100 Subject: [PATCH] openGL: added acceleration flags in win32. --- modules/juce_opengl/native/juce_OpenGL_win32.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_opengl/native/juce_OpenGL_win32.h b/modules/juce_opengl/native/juce_OpenGL_win32.h index 3e7fc2df4d..4e204fea8c 100644 --- a/modules/juce_opengl/native/juce_OpenGL_win32.h +++ b/modules/juce_opengl/native/juce_OpenGL_win32.h @@ -197,6 +197,8 @@ private: atts[n++] = WGL_SUPPORT_OPENGL_ARB; atts[n++] = GL_TRUE; atts[n++] = WGL_DOUBLE_BUFFER_ARB; atts[n++] = GL_TRUE; atts[n++] = WGL_PIXEL_TYPE_ARB; atts[n++] = WGL_TYPE_RGBA_ARB; + atts[n++] = WGL_ACCELERATION_ARB; + atts[n++] = WGL_FULL_ACCELERATION_ARB; atts[n++] = WGL_COLOR_BITS_ARB; atts[n++] = pixelFormat.redBits + pixelFormat.greenBits + pixelFormat.blueBits; atts[n++] = WGL_RED_BITS_ARB; atts[n++] = pixelFormat.redBits;