Camilla Löwy 8 anos atrás
pai
commit
2ba461e348
4 arquivos alterados com 1 adições e 4 exclusões
  1. 0 1
      src/context.c
  2. 0 2
      src/init.c
  3. 1 0
      src/monitor.c
  4. 0 1
      src/window.c

+ 0 - 1
src/context.c

@@ -638,7 +638,6 @@ GLFWAPI void glfwSwapInterval(int interval)
 GLFWAPI int glfwExtensionSupported(const char* extension)
 GLFWAPI int glfwExtensionSupported(const char* extension)
 {
 {
     _GLFWwindow* window;
     _GLFWwindow* window;
-
     assert(extension != NULL);
     assert(extension != NULL);
 
 
     _GLFW_REQUIRE_INIT_OR_RETURN(GLFW_FALSE);
     _GLFW_REQUIRE_INIT_OR_RETURN(GLFW_FALSE);

+ 0 - 2
src/init.c

@@ -181,10 +181,8 @@ GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev)
 {
 {
     if (major != NULL)
     if (major != NULL)
         *major = GLFW_VERSION_MAJOR;
         *major = GLFW_VERSION_MAJOR;
-
     if (minor != NULL)
     if (minor != NULL)
         *minor = GLFW_VERSION_MINOR;
         *minor = GLFW_VERSION_MINOR;
-
     if (rev != NULL)
     if (rev != NULL)
         *rev = GLFW_VERSION_REVISION;
         *rev = GLFW_VERSION_REVISION;
 }
 }

+ 1 - 0
src/monitor.c

@@ -262,6 +262,7 @@ void _glfwSplitBPP(int bpp, int* red, int* green, int* blue)
 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count)
 GLFWAPI GLFWmonitor** glfwGetMonitors(int* count)
 {
 {
     assert(count != NULL);
     assert(count != NULL);
+
     *count = 0;
     *count = 0;
 
 
     _GLFW_REQUIRE_INIT_OR_RETURN(NULL);
     _GLFW_REQUIRE_INIT_OR_RETURN(NULL);

+ 0 - 1
src/window.c

@@ -445,7 +445,6 @@ GLFWAPI void glfwSetWindowTitle(GLFWwindow* handle, const char* title)
 {
 {
     _GLFWwindow* window = (_GLFWwindow*) handle;
     _GLFWwindow* window = (_GLFWwindow*) handle;
     assert(window != NULL);
     assert(window != NULL);
-
     assert(title != NULL);
     assert(title != NULL);
 
 
     _GLFW_REQUIRE_INIT();
     _GLFW_REQUIRE_INIT();