mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 14:22:50 +00:00
Make more RFC 2119 compliant use of may
This commit is contained in:
+2
-2
@@ -300,8 +300,8 @@ int _glfwInitContextAPI(void)
|
||||
//
|
||||
void _glfwTerminateContextAPI(void)
|
||||
{
|
||||
// NOTE: This function may not call any X11 functions, as it is called after
|
||||
// XCloseDisplay (see _glfwPlatformTerminate for details)
|
||||
// NOTE: This function must not call any X11 functions, as it is called
|
||||
// after XCloseDisplay (see _glfwPlatformTerminate for details)
|
||||
|
||||
if (_glfw.glx.handle)
|
||||
{
|
||||
|
||||
+2
-2
@@ -41,7 +41,7 @@
|
||||
defined(GLFW_INCLUDE_GLEXT) || \
|
||||
defined(GLFW_INCLUDE_GLU) || \
|
||||
defined(GLFW_DLL)
|
||||
#error "You may not define any header option macros when compiling GLFW"
|
||||
#error "You must not define any header option macros when compiling GLFW"
|
||||
#endif
|
||||
|
||||
#define GLFW_INCLUDE_NONE
|
||||
@@ -124,7 +124,7 @@ typedef int GLFWbool;
|
||||
* @brief Various utility functions for internal use.
|
||||
*
|
||||
* These functions are shared code and may be used by any part of GLFW
|
||||
* Each platform may add its own utility functions, but those may only be
|
||||
* Each platform may add its own utility functions, but those must only be
|
||||
* called by the platform-specific code
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user