浏览代码

Formatting.

Camilla Berglund 11 年之前
父节点
当前提交
75f916db44
共有 2 个文件被更改,包括 9 次插入3 次删除
  1. 3 3
      README.md
  2. 6 0
      include/GLFW/glfw3native.h

+ 3 - 3
README.md

@@ -45,9 +45,9 @@ The following dependencies are needed by the examples and test programs:
 
 ## Changelog
 
-- Added native monitor handle access to native API
-- [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen
-                  recorders to fail
+ - Added native monitor handle access to native API
+ - [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen
+                   recorders to fail
 
 
 ## Contact

+ 6 - 0
include/GLFW/glfw3native.h

@@ -107,6 +107,7 @@ extern "C" {
  *  @ingroup native
  */
 GLFWAPI const WCHAR* glfwGetWin32Monitor(GLFWmonitor* monitor);
+
 /*! @brief Returns the `HWND` of the specified window.
  *  @return The `HWND` of the specified window.
  *  @ingroup native
@@ -128,6 +129,7 @@ GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
  *  @ingroup native
  */
 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
+
 /*! @brief Returns the `NSWindow` of the specified window.
  *  @return The `NSWindow` of the specified window.
  *  @ingroup native
@@ -149,11 +151,13 @@ GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
  *  @ingroup native
  */
 GLFWAPI Display* glfwGetX11Display(void);
+
 /*! @brief Returns the `RRCrtc` of the specified monitor.
  *  @return The the `RRCrtc` of the specified monitor.
  *  @ingroup native
  */
 GLFWAPI RRCrtc glfwGetX11Monitor(GLFWmonitor* monitor);
+
 /*! @brief Returns the `Window` of the specified window.
  *  @return The `Window` of the specified window.
  *  @ingroup native
@@ -175,11 +179,13 @@ GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
  *  @ingroup native
  */
 GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
+
 /*! @brief Returns the `EGLContext` of the specified window.
  *  @return The `EGLContext` of the specified window.
  *  @ingroup native
  */
 GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
+
 /*! @brief Returns the `EGLSurface` of the specified window.
  *  @return The `EGLSurface` of the specified window.
  *  @ingroup native