From da5d04061e2451ddec5f8b1d48a6033937deed1f Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 25 Jun 2022 12:10:28 +0200 Subject: [PATCH] Updated PLATFORM_RPI info #2547 --- src/Makefile | 4 ++-- src/rcore.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 1a16c3abf..d8a3b8aba 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,8 +8,8 @@ # PLATFORM_DESKTOP: OSX/macOS (arm64, x86_64) # PLATFORM_DESKTOP: FreeBSD, OpenBSD, NetBSD, DragonFly # PLATFORM_ANDROID: Android (arm, i686, arm64, x86_64) -# PLATFORM_RPI: Raspberry Pi (Raspbian) -# PLATFORM_DRM: Linux native mode, including Raspberry Pi 4 with V3D fkms driver +# PLATFORM_RPI: Raspberry Pi (deprecated - RPI OS Buster only) +# PLATFORM_DRM: Linux native mode, including Raspberry Pi (RPI OS Bullseye) # PLATFORM_WEB: HTML5 (Chrome, Firefox) # # Many thanks to Milan Nikolic (@gen2brain) for implementing Android platform pipeline. diff --git a/src/rcore.c b/src/rcore.c index fe7914828..c524d11c5 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -22,9 +22,11 @@ * Windowing and input system configured for Android device, app activity managed internally in this module. * NOTE: OpenGL ES 2.0 is required and graphic device is managed by EGL * -* #define PLATFORM_RPI +* #define PLATFORM_RPI (deprecated - RPI OS Buster only) * Windowing and input system configured for Raspberry Pi in native mode (no XWindow required), * graphic device is managed by EGL and inputs are processed is raw mode, reading from /dev/input/ +* WARNING: This platform is deprecated, since RPI OS Bullseye, the old Dispmanx libraries are not +* supported and you must be using PLATFORM_DRM * * #define PLATFORM_DRM * Windowing and input system configured for DRM native mode (RPI4 and other devices)