Simple Directmedia Layer
Go to file
Sylvain Becker 6a2200823c
Cleanup add brace (#6545)
* Add braces after if conditions

* More add braces after if conditions

* Add braces after while() conditions

* Fix compilation because of macro being modified

* Add braces to for loop

* Add braces after if/goto

* Move comments up

* Remove extra () in the 'return ...;' statements

* More remove extra () in the 'return ...;' statements

* More remove extra () in the 'return ...;' statements after merge

* Fix inconsistent patterns are xxx == NULL vs !xxx

* More "{}" for "if() break;"  and "if() continue;"

* More "{}" after if() short statement

* More "{}" after "if () return;" statement

* More fix inconsistent patterns are xxx == NULL vs !xxx

* Revert some modificaion on SDL_RLEaccel.c

* SDL_RLEaccel: no short statement

* Cleanup 'if' where the bracket is in a new line

* Cleanup 'while' where the bracket is in a new line

* Cleanup 'for' where the bracket is in a new line

* Cleanup 'else' where the bracket is in a new line
2022-11-27 08:38:43 -08:00
.github ci: no more need for autoconf and make 2022-11-25 15:37:30 -08:00
android-project Avoid use of deprecated egrep/fgrep 2022-11-24 02:58:20 -08:00
build-scripts Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
cmake Remove SDL_config.h from the public headers 2022-11-26 04:48:36 -08:00
docs Remove SDL_HINT_IDLE_TIMER_DISABLED. 2022-11-27 08:23:02 -08:00
include Update comments to refer SDL_GetWindowSizeInPixels (thanks @NoelFB!) 2022-11-27 08:27:00 -08:00
mingw/pkg-support/cmake First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
src Cleanup add brace (#6545) 2022-11-27 08:38:43 -08:00
test Cleanup add brace (#6545) 2022-11-27 08:38:43 -08:00
VisualC Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
VisualC-GDK Cleanup add brace (#6545) 2022-11-27 08:38:43 -08:00
VisualC-WinRT Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
wayland-protocols Add support for X11 primary selection (#6132) 2022-09-14 09:28:35 -07:00
Xcode Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
Xcode-iOS/Demos Cleanup add brace (#6545) 2022-11-27 08:38:43 -08:00
.clang-format Disable formatting not supported by Visual Studio 2019 2022-05-27 15:29:21 -07:00
.editorconfig First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
.gitignore reverted opengles removal. 2022-11-23 18:50:02 +03:00
.wikiheaders-options .wikiheaders-options: Add a warning that SDL3 is WIP. 2022-11-22 13:49:03 -05:00
Android.mk android.mk: LOCAL_EXPORT_C_INCLUDES does not need to add include subfolder 2022-11-22 18:35:49 +01:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
cmake_uninstall.cmake.in Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target 2017-10-12 08:44:45 -07:00
CMakeLists.txt Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -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
Makefile.minimal First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
sdl3-config.in Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
sdl3.m4 Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
sdl3.pc.in First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
SDL3Config.cmake.in 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 Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00

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)