Skip to content

Commit

Permalink
fixing for RPI5
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciogonzalezvivo committed Dec 23, 2023
1 parent 540d114 commit 0400573
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")

project(glslViewer
VERSION ${VERSION}
LANGUAGES CXX )
LANGUAGES C CXX )

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,12 @@ void printUsage(char * executableName) {
std::cerr << " -s or --size <pixels> # set width and height of the window" << std::endl;
std::cerr << " -w or --width <pixels> # set the width of the window" << std::endl;
std::cerr << " -h or --height <pixels> # set the height of the window" << std::endl;
#if defined(DRIVER_GBM)
std::cerr << " -d or --display <display> # open specific display port. Ex: -d /dev/dri/card1" << std::endl;
#endif
#if !defined(DRIVER_GLFW)
std::cerr << " -m or --mouse <mouse> # open specific mouse port. Ex: -d /dev/input/mice" << std::endl;
#endif
std::cerr << " -f or --fullscreen # load the window in fullscreen" << std::endl;
std::cerr << " -l or --life-coding # live code mode, where the billboard is allways visible" << std::endl;
std::cerr << " -ss or --screensaver # screensaver mode, any pressed key will exit" << std::endl;
Expand Down

0 comments on commit 0400573

Please sign in to comment.