glfw/docs/news.md

1.6 KiB

Release notes for version 3.5

[TOC]

New features

Multiple window contexts

GLFW now provides the ability to create multiple OpenGL and OpenGL ES contexts for a given window. Called user contexts, a [GLFWusercontext](@ref context_user) can be created using @ref glfwCreateUserContext, destroyed using @ref glfwDestroyUserContext, and managed with @ref glfwMakeUserContextCurrent and @ref glfwGetCurrentUserContext. For more information see the [user context](@ref context_user) documentation.

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.

Caveats

Deprecations

Removals

New symbols

New functions

New types

New constants

  • @ref GLFW_UNLIMITED_MOUSE_BUTTONS

Release notes for earlier versions