mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 12:54:54 +00:00
Renamed glfwGetMonitorString to glfwGetMonitorName.
This commit is contained in:
+1
-1
@@ -366,7 +366,7 @@ void monitor_callback(GLFWmonitor monitor, int event)
|
||||
printf("%08x at %0.3f: Monitor %s %s\n",
|
||||
counter++,
|
||||
glfwGetTime(),
|
||||
glfwGetMonitorString(monitor, GLFW_MONITOR_NAME),
|
||||
glfwGetMonitorName(monitor),
|
||||
get_monitor_event_name(event));
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -98,7 +98,7 @@ static void list_modes(GLFWmonitor monitor)
|
||||
|
||||
glfwGetVideoMode(monitor, &mode);
|
||||
|
||||
printf("Name: %s\n", glfwGetMonitorString(monitor, GLFW_MONITOR_NAME));
|
||||
printf("Name: %s\n", glfwGetMonitorName(monitor));
|
||||
printf("Current mode: %s\n", format_mode(&mode));
|
||||
printf("Virtual position: %i %i\n",
|
||||
glfwGetMonitorParam(monitor, GLFW_MONITOR_SCREEN_POS_X),
|
||||
@@ -140,7 +140,7 @@ static void test_modes(GLFWmonitor monitor)
|
||||
|
||||
printf("Testing mode %u on monitor %s: %s\n",
|
||||
(unsigned int) i,
|
||||
glfwGetMonitorString(monitor, GLFW_MONITOR_NAME),
|
||||
glfwGetMonitorName(monitor),
|
||||
format_mode(mode));
|
||||
|
||||
window_handle = glfwCreateWindow(mode->width, mode->height,
|
||||
|
||||
Reference in New Issue
Block a user