ADDED: NEW PLATFORM: SDL (DESKTOP) rcore_desktop_sdl #3313

This commit is contained in:
Ray
2023-10-16 00:51:44 +02:00
parent a75251f0a9
commit 84818c96f2
2 changed files with 769 additions and 8 deletions

View File

@@ -3,14 +3,18 @@
* rcore - Window/display management, Graphic device/context management and input management
*
* PLATFORMS SUPPORTED:
* - PLATFORM_DESKTOP: Windows (Win32, Win64)
* - PLATFORM_DESKTOP: Linux (X11 desktop mode)
* - PLATFORM_DESKTOP: FreeBSD, OpenBSD, NetBSD, DragonFly (X11 desktop)
* - PLATFORM_DESKTOP: OSX/macOS
* - PLATFORM_WEB: HTML5 (WebAssembly)
* - PLATFORM_DRM: Raspberry Pi 0-5
* - PLATFORM_DRM: Linux native mode (KMS driver)
* - PLATFORM_ANDROID: Android (ARM, ARM64)
* - PLATFORM_DESKTOP:
* > Windows (Win32, Win64)
* > Linux (X11/Wayland desktop mode)
* > macOS/OSX (x64, arm64)
* > FreeBSD, OpenBSD, NetBSD, DragonFly (X11 desktop)
* - PLATFORM_WEB:
* > HTML5 (WebAssembly)
* - PLATFORM_DRM:
* > Raspberry Pi 0-5
* > Linux native mode (KMS driver)
* - PLATFORM_ANDROID:
* > Android (ARM, ARM64)
*
* CONFIGURATION:
* #define SUPPORT_DEFAULT_FONT (default)
@@ -303,6 +307,8 @@ const char *TextFormat(const char *text, ...); // Formatting of text with
// Include platform-specific submodules
#if defined(PLATFORM_DESKTOP)
#include "rcore_desktop.c"
#elif defined(PLATFORM_DESKTOP_SDL)
#include "rcore_desktop_sdl.c"
#elif defined(PLATFORM_WEB)
#include "rcore_web.c"
#elif defined(PLATFORM_DRM)