Updated Working on Raspberry Pi (markdown)

master
Ray 3 years ago
parent
commit
b6bbb7d831
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      Working-on-Raspberry-Pi.md

+ 5
- 5
Working-on-Raspberry-Pi.md

@ -1,4 +1,4 @@
To build your Raylib game for Raspberry Pi you just need to download Raylib git repository (or get the current release from [here](https://github.com/raysan5/raylib/releases)). All required libraries come with the Raylib, **no additional dependencies are required**. Raylib also comes with ready-to-use makefiles to compile source code and examples.
To build your raylib game for Raspberry Pi you just need to download raylib git repository (or get the current release from [here](https://github.com/raysan5/raylib/releases)). All required libraries come with the raylib, **no additional dependencies are required**. raylib also comes with ready-to-use makefiles to compile source code and examples.
### Supported Devices and OS
@ -20,13 +20,13 @@ _NOTE: **Raspberry Pi 4** native mode compilation requires `PLATFORM_DRM` compil
- OpenGL 2.1 on X11 desktop mode
- (OpenGL 3.3 on X11 desktop mode ?)
By default, Raylib is will compile for a classic X11-based Linux desktop, using the `OpenGL desktop drivers`. However it is also possible to compile in native mode not depending on any windowing system (no X11 required), accessing Broadcom Video driver directly and running programs from the virtual terminal.
By default, raylib is will compile for a classic X11-based Linux desktop, using the `OpenGL desktop drivers`. However it is also possible to compile in native mode not depending on any windowing system (no X11 required), accessing Broadcom Video driver directly and running programs from the virtual terminal.
OpenGL desktop mode requires the GL desktop driver and supposedly it only works for RPI 2 and higher, that limit is set for performance reasons... but, if required, GL desktop driver can be also enabled on RPI B/B+ or Zero, [just follow this guide](https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=166495) to enable it.
### Compiling Raylib source code
### Compiling raylib source code
Before you can use Raylib in your project you will have to compile it, but this is quick and easy!
Before you can use raylib in your project you will have to compile it, but this is quick and easy!
Just navigate to `raylib\src\` directory and run one of the following options depending on your needs:
@ -65,4 +65,4 @@ sudo apt-get install build-essential
### Compiling raylib examples
Just move to folder `raylib/examples/` and run **the same make command you used to compile Raylib**
Just move to folder `raylib/examples/` and run **the same make command you used to compile raylib**

Loading…
Cancel
Save