Go to file
Daniel Gibson ac8a041541 SDL_main for Win32: Get rid of console_*main, add wWinMain()
I don't think there's any point in console_*main() for non-MSVC - I think
it can't be called anyway now that SDL_main is header-only.
So I renamed those functions to main() and wmain() and made them MSVC-only

For reference, MinGW (at least the version I tested) supports both main()
and WinMain(), no matter if compiled with -mconsole or -mwindows (it seems
to prefer main() over WinMain() if both are available, in both cases).
But when building with -municode, it needs wmain() or wWinMain(), so
that case is now handled with wWinMain()
2022-12-29 21:50:58 -08:00
.github Cancel current CI actions when a PR is updated 2022-12-28 13:10:27 -08:00
VisualC cmake: add SDL3 to include path 2022-12-29 09:01:56 -08:00
VisualC-GDK Split SDL gamepad internal functions into SDL_gamepad_c.h 2022-12-27 10:23:28 -08:00
VisualC-WinRT Split SDL gamepad internal functions into SDL_gamepad_c.h 2022-12-27 10:23:28 -08:00
Xcode cmake: add SDL3 to include path 2022-12-29 09:01:56 -08:00
android-project Android JAVA DetectDevices: 'is_capture' is inverted (#6845) 2022-12-18 16:55:59 +01:00
build-scripts Consistency cleanup for README-migration.md 2022-12-29 10:44:54 -08:00
cmake cmake: add SDL3 to include path 2022-12-29 09:01:56 -08:00
docs SDL API renaming: SDL_Alloc*/SDL_Free* -> SDL_Create*/SDL_Destroy* 2022-12-29 15:07:15 -08:00
include SDL_main for Win32: Get rid of console_*main, add wWinMain() 2022-12-29 21:50:58 -08:00
mingw/pkg-support/cmake build: don't add SDL3 subfolder to include path for external projects 2022-11-27 14:33:13 -08:00
src SDL API renaming: SDL_Alloc*/SDL_Free* -> SDL_Create*/SDL_Destroy* 2022-12-29 15:07:15 -08:00
test SDL API renaming: SDL_Alloc*/SDL_Free* -> SDL_Create*/SDL_Destroy* 2022-12-29 15:07:15 -08:00
wayland-protocols wayland: Add high-resolution event timestamp support 2022-12-04 16:56:26 -08:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:01 -08:00
.editorconfig editorconfig: remove trailing whitespace in source code 2022-12-26 10:34:07 -08:00
.gitignore SDL API renaming: SDL_gamecontroller.h 2022-12-27 09:47:24 -08:00
.wikiheaders-options sdlwiki: SDL_version.h moved to include/SDL3 2022-12-19 09:19:45 -08:00
Android.mk Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
BUGS.txt
CMakeLists.txt cmake: add SDL3 to include path 2022-12-29 09:01:56 -08:00
CREDITS.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
INSTALL.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
LICENSE.txt Updated copyright for 2022 2022-01-03 09:40:21 -08:00
README-SDL.txt
README.md First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 2021-04-01 12:20:33 -04:00
WhatsNew.txt Updated gamepad, joystick, sensor APIs, removing device indices 2022-12-28 13:10:27 -08:00

README.md

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)