mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 06:23:50 +00:00
Added note on profile detection.
This commit is contained in:
parent
87e6417353
commit
bb3f29d8bc
@ -448,7 +448,9 @@ context is an OpenGL debug context, or `GL_FALSE` otherwise.
|
|||||||
The `GLFW_OPENGL_PROFILE` attribute indicates the OpenGL profile used by the
|
The `GLFW_OPENGL_PROFILE` attribute indicates the OpenGL profile used by the
|
||||||
context. This is `GLFW_OPENGL_CORE_PROFILE` or `GLFW_OPENGL_COMPAT_PROFILE`
|
context. This is `GLFW_OPENGL_CORE_PROFILE` or `GLFW_OPENGL_COMPAT_PROFILE`
|
||||||
if the context uses a known profile, or `GLFW_OPENGL_ANY_PROFILE` if the
|
if the context uses a known profile, or `GLFW_OPENGL_ANY_PROFILE` if the
|
||||||
OpenGL profile is unknown or the context is for another client API.
|
OpenGL profile is unknown or the context is for another client API. Note that
|
||||||
|
the returned profile may not match the profile bits of the context flags, as
|
||||||
|
GLFW will try other means of detecting the profile when no bits are set.
|
||||||
|
|
||||||
The `GLFW_CONTEXT_ROBUSTNESS` attribute indicates the robustness strategy
|
The `GLFW_CONTEXT_ROBUSTNESS` attribute indicates the robustness strategy
|
||||||
used by the context. This is `GLFW_LOSE_CONTEXT_ON_RESET` or
|
used by the context. This is `GLFW_LOSE_CONTEXT_ON_RESET` or
|
||||||
|
Loading…
Reference in New Issue
Block a user