Update olcPixelGameEngine.h
This commit is contained in:
@@ -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
|
||||
~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user