A simple and easy-to-use library to enjoy videogames programming http://www.raylib.com
  • C 86.6%
  • Lua 7.4%
  • Makefile 2.3%
  • Zig 1.2%
  • CMake 1%
  • Other 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-09-23 17:03:17 +02:00
.github Update webassembly.yml 2020-08-21 13:16:46 +02:00
cmake Revert "CMake: Don't create symlinks on unsupporting file systems (#539)" 2020-04-08 11:01:26 +02:00
examples added PLATFORM_DRM 2020-09-19 20:09:24 +02:00
logo Removed unneded PNG chunks 2020-08-20 17:40:28 +02:00
projects Added resource file for DLL compilation info 2020-08-19 11:59:50 +02:00
src changed avoidProgressive to allowInterlaced 2020-09-23 17:03:17 +02:00
templates Review Makefiles for WEB compilation 2020-08-08 14:08:56 +02:00
.gitignore Update .gitignore 2020-05-08 22:48:10 +02:00
.travis.yml Remove Android and HTML5 builds 2020-08-21 13:53:44 +02:00
BINDINGS.md Update raylib-pas binding version 2020-09-18 12:25:22 +02:00
CHANGELOG Update CHANGELOG 2020-03-30 16:25:59 +02:00
CMakeLists.txt Remove games from building 2020-04-13 15:10:42 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-03-21 13:37:48 +01:00
HISTORY.md Update HISTORY.md 2020-03-30 16:30:34 +02:00
LICENSE Update to be detected by GitHub 2020-01-29 14:53:19 +01:00
raylib.pc.in CMake: allow spaces in CMAKE_INSTALL_PREFIX 2020-08-08 01:11:45 +02:00
README.md updated README.md 2020-09-19 15:02:56 +02:00
ROADMAP.md Update ROADMAP.md 2020-03-31 23:00:48 +02:00
SPONSORS.md Update SPONSORS.md 2020-07-04 11:49:54 +02:00

Fork of the wonderful https://github.com/raysan5/raylib to implement native rendering (without X11) using DRM and GBM. Runs on Raspberry Pi 4 and should run on any Linux distribution with appropriate graphic drivers (see https://github.com/raysan5/raylib/issues/1096).

Build raylib using the Makefile in src with the option PLATFORM=PLATFORM_DRM.

If you want to build the examples then use the Makefile in examples again with the option PLATFORM=PLATFORM_DRM.

There may be one caveat for compiling: Because raylib defines a Font structure and X11 does so, too, you need to define EGL_NO_X11, otherwise egl.h tears in the X11 headers and the second Font structure.

There should be an error message or a failing assertion if it doesn't work properly. Otherwise it's considered to be a bug, please file an issue.

Successfully compiled raylib and ran the core_basic_window example on a Raspberry Pi 4 and a current Ubuntu 20.04 in a current virtual machine.

!!! It is necessary to switch from the graphical login screen to a console window to allow raylib to aquire the graphics buffer. !!!