mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Renamed monitor test program.
This commit is contained in:
@@ -28,7 +28,7 @@ add_executable(gamma gamma.c ${GETOPT})
|
||||
add_executable(glfwinfo glfwinfo.c ${GETOPT})
|
||||
add_executable(iconify iconify.c ${GETOPT})
|
||||
add_executable(joysticks joysticks.c)
|
||||
add_executable(modes modes.c ${GETOPT})
|
||||
add_executable(monitors monitors.c ${GETOPT})
|
||||
add_executable(peter peter.c)
|
||||
add_executable(reopen reopen.c)
|
||||
add_executable(cursor cursor.c)
|
||||
@@ -62,7 +62,7 @@ target_link_libraries(threads "${CMAKE_THREAD_LIBS_INIT}" "${RT_LIBRARY}")
|
||||
|
||||
set(WINDOWS_BINARIES accuracy empty sharing tearing threads title windows cursoranim)
|
||||
set(CONSOLE_BINARIES clipboard defaults events fsaa gamma glfwinfo
|
||||
iconify joysticks modes peter reopen cursor)
|
||||
iconify joysticks monitors peter reopen cursor)
|
||||
|
||||
set_target_properties(${WINDOWS_BINARIES} ${CONSOLE_BINARIES} PROPERTIES
|
||||
FOLDER "GLFW3/Tests")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//========================================================================
|
||||
// Video mode test
|
||||
// Monitor information tool
|
||||
// Copyright (c) Camilla Berglund <elmindreda@elmindreda.org>
|
||||
//
|
||||
// This software is provided 'as-is', without any express or implied
|
||||
@@ -23,7 +23,8 @@
|
||||
//
|
||||
//========================================================================
|
||||
//
|
||||
// This test enumerates or verifies video modes
|
||||
// This test prints monitor and video mode information or verifies video
|
||||
// modes
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
@@ -43,8 +44,8 @@ enum Mode
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
printf("Usage: modes [-t]\n");
|
||||
printf(" modes -h\n");
|
||||
printf("Usage: monitors [-t]\n");
|
||||
printf(" monitors -h\n");
|
||||
}
|
||||
|
||||
static const char* format_mode(const GLFWvidmode* mode)
|
||||
Reference in New Issue
Block a user