Update olcPixelGameEngine.h

This commit is contained in:
Benjamin Kyd
2019-02-09 22:34:00 +00:00
committed by GitHub
parent 5ab977ea35
commit 09edc16c47

View File

@@ -41,16 +41,9 @@
Compiling in Linux
~~~~~~~~~~~~~~~~~~
You will need a modern C++ compiler, so update yours!
To compile use the command:
g++ -o YourProgName YourSource.cpp -lX11 -lGL -lpthread -lpng
On some Linux configurations, the frame rate is locked to the refresh
rate of the monitor. This engine tries to unlock it but may not be
able to, in which case try launching your program like this:
vblank_mode=0 ./YourProgName
g++ -o output YourSource.cpp -lX11 -lGL -lpthread -lpng
vblank_mode=0 ./output
Thanks
~~~~~~