From da311671930247712dc43247c6adaa33b2de84cd Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 18 Oct 2012 23:01:41 +0200 Subject: [PATCH] Renamed glfwGetMonitorString to glfwGetMonitorName. --- include/GL/glfw3.h | 3 +-- readme.html | 2 +- src/monitor.c | 12 ++---------- tests/events.c | 2 +- tests/modes.c | 4 ++-- 5 files changed, 7 insertions(+), 16 deletions(-) diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index 2c30d9e0..019f6a40 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -458,7 +458,6 @@ extern "C" { #define GLFW_GAMMA_RAMP_SIZE 256 /* Monitor constants */ -#define GLFW_MONITOR_NAME 0x00060000 #define GLFW_MONITOR_PHYSICAL_WIDTH 0x00060001 #define GLFW_MONITOR_PHYSICAL_HEIGHT 0x00060002 #define GLFW_MONITOR_SCREEN_POS_X 0x00060003 @@ -532,7 +531,7 @@ GLFWAPI void glfwSetErrorCallback(GLFWerrorfun cbfun); GLFWAPI GLFWmonitor* glfwGetMonitors(int* count); GLFWAPI GLFWmonitor glfwGetPrimaryMonitor(void); GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param); -GLFWAPI const char* glfwGetMonitorString(GLFWmonitor monitor, int param); +GLFWAPI const char* glfwGetMonitorName(GLFWmonitor monitor); GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor monitor, void* pointer); GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor monitor); GLFWAPI void glfwSetMonitorCallback(GLFWmonitorfun cbfun); diff --git a/readme.html b/readme.html index d7fb76bc..5b5e2214 100644 --- a/readme.html +++ b/readme.html @@ -269,7 +269,7 @@ version of GLFW.