Browse Source

openGL: added acceleration flags in win32.

tags/2021-05-28
jules 13 years ago
parent
commit
d77418efed
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_opengl/native/juce_OpenGL_win32.h

+ 2
- 0
modules/juce_opengl/native/juce_OpenGL_win32.h View File

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


Loading…
Cancel
Save