From 0d1ee52ab5474e5db4ad23e2488044ab65fbc372 Mon Sep 17 00:00:00 2001 From: Colesnicov Denis Petrovich Date: Sun, 5 May 2024 10:09:51 +0200 Subject: [PATCH] Added openbox, tips and tricks section --- Working-on-Raspberry-Pi.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Working-on-Raspberry-Pi.md b/Working-on-Raspberry-Pi.md index fa0ba66..9c9d402 100644 --- a/Working-on-Raspberry-Pi.md +++ b/Working-on-Raspberry-Pi.md @@ -75,6 +75,31 @@ sudo apt-get install libraspberrypi-dev raspberrypi-kernel-headers sudo apt-get install build-essential ``` +**3. To compile on OPENBOX** + +**WARNIGN:** The program compiled as `PLATFORM_DRM` under _openbox_ fails (More testing is required). + +_It is untested._ + +_Documentations must be added._ + ### Compiling raylib examples -Just move to folder `raylib/examples/` and run **the same make command you used to compile raylib** \ No newline at end of file +Just move to folder `raylib/examples/` and run **the same make command you used to compile raylib** + +### Rotate Screen + +##### PLATFORM_DESKTOP +It's clear on desktop: +``` +Settings -> Display -> Rotation +``` + +##### PLATFORM_DRM + +In this case, it's not that simple. With regard to this discussion https://github.com/raysan5/raylib/issues/3958, I am forced to state here that it **is not possible to rotate the image by 90° or 180° in hardware**. And it has to be done programmatically!? + + +_He still wants to investigate and supplement it.._ + +