iwillburnyou / oglsuperbible5

Automatically exported from code.google.com/p/oglsuperbible5
0 stars 0 forks source link

WGL_ACCELERATION_ARB should use enum WGL_FULL_ACCELERATION_ARB #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In the Ch13 code, the wglChoosePixelFormatARB attribute code is

        WGL_ACCELERATION_ARB,   1, // must be HW accelerated

but WGL_ACCELERATION_ARB's value should be one of the values 

        WGL_NO_ACCELERATION_ARB                 0x2025
        WGL_GENERIC_ACCELERATION_ARB            0x2026
        WGL_FULL_ACCELERATION_ARB               0x2027

This error causes the Ch13 examples to fail on an NVIDIA Quadro FX 
880M/PCI/SSE2 Quadro FX 880M/PCI/SSE2.

Original issue reported on code.google.com by antony.s...@gmail.com on 31 Aug 2011 at 7:30