mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Documentation work
This commit is contained in:
parent
731ff91acd
commit
4e8e25a521
@ -271,11 +271,17 @@ the application has no preference.
|
|||||||
|
|
||||||
@anchor GLFW_SRGB_CAPABLE
|
@anchor GLFW_SRGB_CAPABLE
|
||||||
__GLFW_SRGB_CAPABLE__ specifies whether the framebuffer should be sRGB capable.
|
__GLFW_SRGB_CAPABLE__ specifies whether the framebuffer should be sRGB capable.
|
||||||
If supported, a created OpenGL context will support the `GL_FRAMEBUFFER_SRGB`
|
|
||||||
enable, also called `GL_FRAMEBUFFER_SRGB_EXT`) for controlling sRGB rendering
|
|
||||||
and a created OpenGL ES context will always have sRGB rendering enabled.
|
|
||||||
Possible values are `GLFW_TRUE` and `GLFW_FALSE`.
|
Possible values are `GLFW_TRUE` and `GLFW_FALSE`.
|
||||||
|
|
||||||
|
@par
|
||||||
|
__OpenGL:__ If enabled and supported by the system, the `GL_FRAMEBUFFER_SRGB`
|
||||||
|
enable will control sRGB rendering. By default, sRGB rendering will be
|
||||||
|
disabled.
|
||||||
|
|
||||||
|
@par
|
||||||
|
__OpenGL ES:__ If enabled and supported by the system, the context will always
|
||||||
|
have sRGB rendering enabled.
|
||||||
|
|
||||||
@anchor GLFW_DOUBLEBUFFER
|
@anchor GLFW_DOUBLEBUFFER
|
||||||
__GLFW_DOUBLEBUFFER__ specifies whether the framebuffer should be double
|
__GLFW_DOUBLEBUFFER__ specifies whether the framebuffer should be double
|
||||||
buffered. You nearly always want to use double buffering. This is a hard
|
buffered. You nearly always want to use double buffering. This is a hard
|
||||||
|
Loading…
Reference in New Issue
Block a user