From 4e2a776207cf3bd95edea9551fcc57984d23f129 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 7 Nov 2017 19:14:02 +0100 Subject: [PATCH] Updated Compile for Raspberry Pi (markdown) --- Compile-for-Raspberry-Pi.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Compile-for-Raspberry-Pi.md b/Compile-for-Raspberry-Pi.md index 2c91c40..d97ec48 100644 --- a/Compile-for-Raspberry-Pi.md +++ b/Compile-for-Raspberry-Pi.md @@ -48,11 +48,11 @@ make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21 To compile just one specific example: - make core/core_basic_window PLATFORM=PLATFORM_RPI - make core/core_basic_window PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21 - -To force one example recompile: - - make core/core_basic_window PLATFORM=PLATFORM_RPI -B - make core/core_basic_window PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21 -B - +1. To use OpenGL ES 2.0 in native mode (no X11): +``` +make core/core_basic_window PLATFORM=PLATFORM_RPI +``` +2. To use desktop OpenGL 1.1 or 2.1 (X11 window) +``` +make core/core_basic_window PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21 +``` \ No newline at end of file