|
|
|
@ -223,8 +223,8 @@ This hint is ignored for windowed mode windows. |
|
|
|
|
@subsubsection window_hints_ctx Context related hints |
|
|
|
|
|
|
|
|
|
`GLFW_CLIENT_API` specifies which client API to create the context for. |
|
|
|
|
Possible values are `GLFW_OPENGL_API` and `GLFW_OPENGL_ES_API`. This is a hard |
|
|
|
|
constraint. |
|
|
|
|
Possible values are `GLFW_OPENGL_API`, `GLFW_OPENGL_ES_API` and `GLFW_NO_API`. |
|
|
|
|
This is a hard constraint. |
|
|
|
|
|
|
|
|
|
`GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` specify the client |
|
|
|
|
API version that the created context must be compatible with. The exact |
|
|
|
@ -337,7 +337,7 @@ Window hint | Default value | Supported values |
|
|
|
|
`GLFW_STEREO` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE` |
|
|
|
|
`GLFW_SRGB_CAPABLE` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE` |
|
|
|
|
`GLFW_DOUBLEBUFFER` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE` |
|
|
|
|
`GLFW_CLIENT_API` | `GLFW_OPENGL_API` | `GLFW_OPENGL_API` or `GLFW_OPENGL_ES_API` |
|
|
|
|
`GLFW_CLIENT_API` | `GLFW_OPENGL_API` | `GLFW_OPENGL_API`, `GLFW_OPENGL_ES_API` or `GLFW_NO_API` |
|
|
|
|
`GLFW_CONTEXT_VERSION_MAJOR` | 1 | Any valid major version number of the chosen client API |
|
|
|
|
`GLFW_CONTEXT_VERSION_MINOR` | 0 | Any valid minor version number of the chosen client API |
|
|
|
|
`GLFW_CONTEXT_ROBUSTNESS` | `GLFW_NO_ROBUSTNESS` | `GLFW_NO_ROBUSTNESS`, `GLFW_NO_RESET_NOTIFICATION` or `GLFW_LOSE_CONTEXT_ON_RESET` |
|
|
|
@ -810,7 +810,7 @@ topmost or always-on-top. This is controlled by the |
|
|
|
|
@subsubsection window_attribs_ctx Context related attributes |
|
|
|
|
|
|
|
|
|
`GLFW_CLIENT_API` indicates the client API provided by the window's context; |
|
|
|
|
either `GLFW_OPENGL_API` or `GLFW_OPENGL_ES_API`. |
|
|
|
|
either `GLFW_OPENGL_API`, `GLFW_OPENGL_ES_API` or `GLFW_NO_API`. |
|
|
|
|
|
|
|
|
|
`GLFW_CONTEXT_VERSION_MAJOR`, `GLFW_CONTEXT_VERSION_MINOR` and |
|
|
|
|
`GLFW_CONTEXT_REVISION` indicate the client API version of the window's context. |
|
|
|
|