glfw/docs/news.md
2024-05-24 20:49:57 +08:00

1.8 KiB

Release notes for version 3.5

[TOC]

New features

Unlimited mouse buttons

GLFW now has an input mode which allows an unlimited number of mouse buttons to be reported by the mouse buttton callback, rather than just the associated [mouse button tokens](@ref buttons). This allows using mouse buttons with values over 8. For compatibility with older versions, the @ref GLFW_UNLIMITED_MOUSE_BUTTONS input mode needs to be set to make use of this.

Window hint for hardware acceleration

You can use window hint [GLFW_ACCELERATION](@ref GLFW_ACCELERATION_hint) to specify whether hardware acceleration is preferred or not. The default value is to prefer hardware acceleration. You can get whether hardware acceleration is enabled with the window attribute [GLFW_ACCELERATION](@ref GLFW_ACCELERATION_attrib). This feature is only available on WGL currently.

Caveats

Microsoft GDI software OpenGL ICD support

GLFW now supports creating window when the Microsoft GDI software OpenGL ICD is the only available implementation. See [GLFW_ACCELERATION](@ref GLFW_ACCELERATION_hint) for more details.

Deprecations

Removals

New symbols

New functions

New types

New constants

  • @ref GLFW_UNLIMITED_MOUSE_BUTTONS

Release notes for earlier versions