Skip to content

Commit

Permalink
vcpkg.json manifest: require glfw 3.3.8 (3.3.9 can fail under windows)
Browse files Browse the repository at this point in the history
    Inside choosePixelFormat(), nativeCount is 50 instead of 14 (for example), and we get a failure here:

        for (i = 0;  i < nativeCount;  i++)
        {
            _GLFWfbconfig* u = usableConfigs + usableCount;
            pixelFormat = i + 1;

            if (_glfw.wgl.ARB_pixel_format)
            {
                // Get pixel format attributes through "modern" extension

                if (!wglGetPixelFormatAttribivARB(window->context.wgl.dc,
                                                  pixelFormat, 0,
                                                  attribCount,
                                                  attribs, values))
                {
    // We will fail here
                    _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
:
  • Loading branch information
pthom committed Feb 1, 2024
1 parent d72230a commit c4f5603
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"freetype-lunasvg"
]
}
],
"overrides": [
{ "name": "glfw3", "version": "3.3.8" }
]
}

0 comments on commit c4f5603

Please sign in to comment.