@ -9,11 +9,9 @@ Official OS supported is [Raspberry Pi OS](https://www.raspberrypi.org/software/
- Raspberry Pi 1 (all models)
- Raspberry Pi 2 (all models)
- Raspberry Pi 3 (all models)
- _Raspberry Pi 4 (PLATFORM_DESKTOP only!)_
_NOTE: Currently **Raspberry Pi 4** native mode compilation is not supported, for further information just [check this issue](https://github.com/raysan5/raylib/issues/1041)._
- Raspberry Pi 4 (all models)
_NOTE: **Raspberry Pi 4** native mode compilation requires `PLATFORM_DRM` compilation flag instead of `PLATFORM_RPI`!_
### Supported OpenGL backends
@ -32,9 +30,15 @@ Before you can use raylib in your project you will have to compile it, but this
Just navigate to `raylib\src\` directory and run one of the following options depending on your needs:
1. To use OpenGL ES 2.0 in native mode (no X11):
On Rapberry Pi 0-3:
```
make PLATFORM=PLATFORM_RPI
```
On Rapberry Pi 4:
```
make PLATFORM=PLATFORM_DRM
```
2. To use desktop OpenGL 1.1 or 2.1 (X11 window)
```
make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_21