diff --git a/src/internal.h b/src/internal.h old mode 100644 new mode 100755 index 54c16d39..ccb7f402 --- a/src/internal.h +++ b/src/internal.h @@ -60,6 +60,7 @@ typedef struct _GLFWwndconfig _GLFWwndconfig; typedef struct _GLFWfbconfig _GLFWfbconfig; typedef struct _GLFWwindow _GLFWwindow; typedef struct _GLFWlibrary _GLFWlibrary; +typedef struct _GLFWmonitor _GLFWmonitor; //------------------------------------------------------------------------ @@ -76,13 +77,6 @@ typedef struct _GLFWlibrary _GLFWlibrary; // extensions and not all operating systems come with an up-to-date version #include "../support/GL/glext.h" -typedef struct _GLFWhints _GLFWhints; -typedef struct _GLFWwndconfig _GLFWwndconfig; -typedef struct _GLFWfbconfig _GLFWfbconfig; -typedef struct _GLFWwindow _GLFWwindow; -typedef struct _GLFWlibrary _GLFWlibrary; -typedef struct _GLFWmonitor _GLFWmonitor; - #if defined(_GLFW_COCOA_NSGL) #include "cocoa_platform.h" #elif defined(_GLFW_WIN32_WGL) diff --git a/tests/modes.c b/tests/modes.c old mode 100644 new mode 100755 index c961d0ce..07c07f2a --- a/tests/modes.c +++ b/tests/modes.c @@ -154,7 +154,7 @@ static void test_modes(GLFWmonitor monitor) glfwOpenWindowHint(GLFW_GREEN_BITS, mode->greenBits); glfwOpenWindowHint(GLFW_BLUE_BITS, mode->blueBits); - printf("Testing mode %u on monitor %s: %s", + printf("Testing mode %u on monitor %s: %s\n", (unsigned int) i, glfwGetMonitorString(monitor, GLFW_MONITOR_NAME), format_mode(mode));