mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Added notes on swap interval defaults.
This commit is contained in:
parent
fd4ea8bc25
commit
3af1c411ca
@ -1243,6 +1243,10 @@ GLFWAPI void glfwWindowHint(int target, int hint);
|
|||||||
* information from the application's bundle. For more information on bundles,
|
* information from the application's bundle. For more information on bundles,
|
||||||
* see the Bundle Programming Guide provided by Apple.
|
* see the Bundle Programming Guide provided by Apple.
|
||||||
*
|
*
|
||||||
|
* @remarks The swap interval is not set during window creation, but is left at
|
||||||
|
* the default value for that platform. For more information, see @ref
|
||||||
|
* glfwSwapInterval.
|
||||||
|
*
|
||||||
* @note This function may only be called from the main thread.
|
* @note This function may only be called from the main thread.
|
||||||
*
|
*
|
||||||
* @sa glfwDestroyWindow
|
* @sa glfwDestroyWindow
|
||||||
@ -2201,6 +2205,11 @@ GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
|
|||||||
*
|
*
|
||||||
* @remarks This function may be called from secondary threads.
|
* @remarks This function may be called from secondary threads.
|
||||||
*
|
*
|
||||||
|
* @note This function is not called during window creation, leaving the swap
|
||||||
|
* interval set to whatever is the default on that platform. This is done
|
||||||
|
* because some swap interval extensions used by GLFW do not allow the swap
|
||||||
|
* interval to be reset to zero once it has been set to a non-zero value.
|
||||||
|
*
|
||||||
* @note Some GPU drivers do not honor the requested swap interval, either
|
* @note Some GPU drivers do not honor the requested swap interval, either
|
||||||
* because of user settings that override the request or due to bugs in the
|
* because of user settings that override the request or due to bugs in the
|
||||||
* driver.
|
* driver.
|
||||||
|
Loading…
Reference in New Issue
Block a user