2
0
Camilla Berglund 12 жил өмнө
parent
commit
13ccf7d9de
2 өөрчлөгдсөн 14 нэмэгдсэн , 14 устгасан
  1. 3 3
      docs/quick.dox
  2. 11 11
      include/GL/glfw3.h

+ 3 - 3
docs/quick.dox

@@ -34,10 +34,10 @@ does not try to redefine those symbols.
 
 
 In other words:
 In other words:
 
 
-* Do *not* include the OpenGL headers yourself, as GLFW does this for you Do
-* *not* include `windows.h` or other platform-specific headers unless
+- Do *not* include the OpenGL headers yourself, as GLFW does this for you
+- Do *not* include `windows.h` or other platform-specific headers unless
   you plan on using those APIs directly
   you plan on using those APIs directly
-* If you *do* need to include such headers, do it *before* including the
+- If you *do* need to include such headers, do it *before* including the
   GLFW and it will detect this
   GLFW and it will detect this
 
 
 Starting with version 3.0, the GLU header `glu.h` is no longer included by
 Starting with version 3.0, the GLU header `glu.h` is no longer included by

+ 11 - 11
include/GL/glfw3.h

@@ -803,10 +803,10 @@ GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
  *  enabled in a binary.
  *  enabled in a binary.
  *
  *
  *  The format of the string is as follows:
  *  The format of the string is as follows:
- *  * The version of GLFW
- *  * The name of the window system API
- *  * The name of the context creation API
- *  * Any additional options or APIs
+ *  - The version of GLFW
+ *  - The name of the window system API
+ *  - The name of the context creation API
+ *  - Any additional options or APIs
  *
  *
  *  For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL
  *  For example, when compiling GLFW 3.0 with MinGW using the Win32 and WGL
  *  backends, the version string may look something like this:
  *  backends, the version string may look something like this:
@@ -1039,13 +1039,13 @@ GLFWAPI void glfwDefaultWindowHints(void);
  *  @ref glfwGetWindowParam function.
  *  @ref glfwGetWindowParam function.
  *
  *
  *  The following hints are hard constraints:
  *  The following hints are hard constraints:
- *  * `GLFW_STEREO`
- *  * `GLFW_CLIENT_API`
+ *  - `GLFW_STEREO`
+ *  - `GLFW_CLIENT_API`
  *
  *
  *  The following additional hints are hard constraints if requesting an OpenGL
  *  The following additional hints are hard constraints if requesting an OpenGL
  *  context:
  *  context:
- *  * `GLFW_OPENGL_FORWARD_COMPAT`
- *  * `GLFW_OPENGL_PROFILE`
+ *  - `GLFW_OPENGL_FORWARD_COMPAT`
+ *  - `GLFW_OPENGL_PROFILE`
  *
  *
  *  Hints that do not apply to a given type of window or context are ignored.
  *  Hints that do not apply to a given type of window or context are ignored.
  *
  *
@@ -1647,10 +1647,10 @@ GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
  *
  *
  *  If `mode` is `GLFW_CURSOR_MODE`, the value must be one of the supported input
  *  If `mode` is `GLFW_CURSOR_MODE`, the value must be one of the supported input
  *  modes:
  *  modes:
- *  * `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally.
- *  * `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the client
+ *  - `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally.
+ *  - `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the client
  *    area of the window.
  *    area of the window.
- *  * `GLFW_CURSOR_CAPTURED` makes the cursor invisible and unable to leave the
+ *  - `GLFW_CURSOR_CAPTURED` makes the cursor invisible and unable to leave the
  *    window but unconstrained in terms of position.
  *    window but unconstrained in terms of position.
  *
  *
  *  If `mode` is `GLFW_STICKY_KEYS`, the value must be either `GL_TRUE` to
  *  If `mode` is `GLFW_STICKY_KEYS`, the value must be either `GL_TRUE` to