mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-08 12:28:15 +00:00
ADDED: NEW PLATFORM: SDL (DESKTOP) rcore_desktop_sdl
#3313
This commit is contained in:
22
src/rcore.c
22
src/rcore.c
@@ -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)
|
||||
|
Reference in New Issue
Block a user