1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 15:17:25 -04:00

Formatting

This commit is contained in:
Camilla Berglund 2016-05-31 15:38:12 +02:00
parent 1615edf5fb
commit 7314501d62

View File

@ -273,10 +273,10 @@ API version that the created context must be compatible with. The exact
behavior of these hints depend on the requested client API. behavior of these hints depend on the requested client API.
@par @par
__OpenGL:__ `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` are not hard __OpenGL:__ `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` are
constraints, but creation will fail if the OpenGL version of the created context not hard constraints, but creation will fail if the OpenGL version of the
is less than the one requested. It is therefore perfectly safe to use the created context is less than the one requested. It is therefore perfectly safe
default of version 1.0 for legacy code and you will still get to use the default of version 1.0 for legacy code and you will still get
backwards-compatible contexts of version 3.0 and above when available. backwards-compatible contexts of version 3.0 and above when available.
@par @par
@ -285,12 +285,12 @@ version, GLFW will attempt to provide this when you ask for a version 1.0
context, which is the default for these hints. context, which is the default for these hints.
@par @par
__OpenGL ES:__ `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` are not hard __OpenGL ES:__ `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` are
constraints, but creation will fail if the OpenGL ES version of the created not hard constraints, but creation will fail if the OpenGL ES version of the
context is less than the one requested. Additionally, OpenGL ES 1.x cannot be created context is less than the one requested. Additionally, OpenGL ES 1.x
returned if 2.0 or later was requested, and vice versa. This is because OpenGL cannot be returned if 2.0 or later was requested, and vice versa. This is
ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not backward because OpenGL ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not
compatible with 1.x. backward compatible with 1.x.
`GLFW_OPENGL_FORWARD_COMPAT` specifies whether the OpenGL context should be `GLFW_OPENGL_FORWARD_COMPAT` specifies whether the OpenGL context should be
forward-compatible, i.e. one where all functionality deprecated in the requested forward-compatible, i.e. one where all functionality deprecated in the requested