From 18323aa0bf842fdae09579d50bd8566c7c32eb04 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 3 Jul 2017 12:09:26 +0200 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 1b1044b..90cb126 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3,7 +3,12 @@ Yes, you can. raylib comes compiled by default for OpenGL 3.3 backend but it can be recompiled for older OpenGL versions! It can be recompiled for OpenGL 1.1 (1997) and OpenGL 2.1 (2006). To do that using Notepad++, just follow this steps: 1. Open file `C:\raylib\raylib\src\core.c` -2. Execute Notepad++ script: `raylib_source_compile_gl11` or `raylib_source_compile_gl21`, those scripts recompile raylib to desired OpenGL version and copy all required data to the required folders +2. Execute Notepad++ script: `raylib_source_compile` but choose the desired OpenGL API version: +``` +SET GRAPHIC_API=GRAPHICS_API_OPENGL_11 +SET GRAPHIC_API=GRAPHICS_API_OPENGL_21 +SET GRAPHIC_API=GRAPHICS_API_OPENGL_33 +``` 3. Open any raylib example or your raylib game 4. Execute Notepad++ script: `raylib_compile_execute`