Updated FAQ (markdown)

master
Ray 8年前
コミット
18323aa0bf
1個のファイルの変更6行の追加1行の削除
  1. +6
    -1
      FAQ.md

+ 6
- 1
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`

読み込み中…
キャンセル
保存