From 09edc16c473ca8a58c895151a6cfa5a7ffb1d3c5 Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Sat, 9 Feb 2019 22:34:00 +0000 Subject: [PATCH] Update olcPixelGameEngine.h --- olcPixelGameEngine.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/olcPixelGameEngine.h b/olcPixelGameEngine.h index 8cfc679..39c9085 100644 --- a/olcPixelGameEngine.h +++ b/olcPixelGameEngine.h @@ -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 ~~~~~~