Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glfw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
glfw
Commits
9c513346
Commit
9c513346
authored
7 years ago
by
Emmanuel Gil Peyrot
Committed by
Camilla Löwy
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Documentation work
Gamma will never be supported on Wayland. Closes #1134.
parent
68809869
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/GLFW/glfw3.h
+7
-6
7 additions, 6 deletions
include/GLFW/glfw3.h
with
7 additions
and
6 deletions
include/GLFW/glfw3.h
+
7
−
6
View file @
9c513346
...
...
@@ -2089,8 +2089,8 @@ GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor);
* @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref
* GLFW_INVALID_VALUE and @ref GLFW_PLATFORM_ERROR.
*
* @remark @wayland Gamma handling is
currently unavailable
, this function
will
*
always
emit @ref GLFW_PLATFORM_ERROR.
* @remark @wayland Gamma handling is
a priviledged protocol
, this function
*
will thus never be implemented and
emit
s
@ref GLFW_PLATFORM_ERROR.
*
* @thread_safety This function must only be called from the main thread.
*
...
...
@@ -2113,8 +2113,9 @@ GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma);
* @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
* GLFW_PLATFORM_ERROR.
*
* @remark @wayland Gamma handling is currently unavailable, this function will
* always return `NULL` and emit @ref GLFW_PLATFORM_ERROR.
* @remark @wayland Gamma handling is a priviledged protocol, this function
* will thus never be implemented and emits @ref GLFW_PLATFORM_ERROR while
* returning `NULL`.
*
* @pointer_lifetime The returned structure and its arrays are allocated and
* freed by GLFW. You should not free them yourself. They are valid until the
...
...
@@ -2156,8 +2157,8 @@ GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor);
*
* @remark @win32 The gamma ramp size must be 256.
*
* @remark @wayland Gamma handling is
currently unavailable
, this function
will
*
always
emit @ref GLFW_PLATFORM_ERROR.
* @remark @wayland Gamma handling is
a priviledged protocol
, this function
*
will thus never be implemented and
emit
s
@ref GLFW_PLATFORM_ERROR.
*
* @pointer_lifetime The specified gamma ramp is copied before this function
* returns.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment