mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Added high-DPI to news page.
This commit is contained in:
parent
f9d1a37621
commit
179d90956a
@ -71,6 +71,15 @@ GLFW now has an (experimental) EGL context creation back end, which can be
|
|||||||
selected through CMake options.
|
selected through CMake options.
|
||||||
|
|
||||||
|
|
||||||
|
@section news_30_hidpi High-DPI support
|
||||||
|
|
||||||
|
GLFW now supports high-DPI monitors on both Windows and OS X, giving windows full
|
||||||
|
resolution framebuffers where other UI elements are scaled up. To achieve this,
|
||||||
|
@ref glfwGetFramebufferSize and @ref glfwSetFramebufferSizeCallback have been
|
||||||
|
added. These work with pixels, while the rest of the GLFW API work with screen
|
||||||
|
coordinates.
|
||||||
|
|
||||||
|
|
||||||
@subsection news_30_error Error callback
|
@subsection news_30_error Error callback
|
||||||
|
|
||||||
GLFW now has an error callback, which can provide your application with much
|
GLFW now has an error callback, which can provide your application with much
|
||||||
|
Loading…
Reference in New Issue
Block a user