Commit History

Author SHA1 Message Date
  Sam Lantinga d1d484ddbe Added SDL_srand(), SDL_rand(), and SDL_rand_r() (thanks @JKaniarz!) 1 year ago
  Sam Lantinga 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 1 year ago
  Sam Lantinga 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes 1 year ago
  Sam Lantinga 4609af618a Updated logging functions for SDL3 naming convention 1 year ago
  Nour Fouad b6c5ad0075 Update hardcoded value of pi to use SDL constant SDL_PI_F for improved consistency and readability. 1 year ago
  Sam Lantinga c1f97c8e07 Fixed testgeometry after color format change (thanks @sezero!) 1 year ago
  Anonymous Maarten 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 year ago
  Sylvain 101f903bb1 testgeometry: allow to use arrows to move the triangle 1 year ago
  Sam Lantinga 5b3ee51c6c Updated copyright for 2024 1 year ago
  Sylvain d8600f717e Pointer as bool (libsdl-org#7214) 1 year ago
  Sylvain c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
  Anonymous Maarten 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
  Sylvain 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL 2 years ago
  Sylvain 16bb6a0b3d Fix warnings about static function and prototype 2 years ago
  Sam Lantinga 7b50bae524 Renamed SDL events for clarity 2 years ago
  Sam Lantinga fde78d12f2 Updated copyright for 2023 2 years ago
  Sam Lantinga cefbeb582f Mouse coordinates are floating point 2 years ago
  Sam Lantinga 0d54115235 SDL API renaming: SDL_render.h 2 years ago
  Sam Lantinga 63724c113b Removed the vi format comments from the source 2 years ago
  Daniel Gibson 22e22ba196 Add SDL_main.h includes to tests 2 years ago
  Sam Lantinga 8121bbd083 Convert ticks to 64-bit, added nanosecond precision to the API 2 years ago
  Sam Lantinga 5750bcb174 Update for SDL3 coding style (#6717) 2 years ago
  Sylvain Becker 6a2200823c Cleanup add brace (#6545) 2 years ago
  Sam Lantinga 0a48abc860 Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>` 2 years ago
  Sam Lantinga 63f307fe1f Remove SDL_config.h from the public headers 2 years ago
  Anonymous Maarten f3389f13ef testgeometry: fix conversion from 'double' to 'float', possible loss of data 2 years ago
  Simon McVittie 76a7b629bf test: Add some common code to load test resources 3 years ago
  Sam Lantinga 120c76c84b Updated copyright for 2022 3 years ago
  Ozkan Sezer f5c0cdea38 testgeometry.c: fix build in c89 mode 4 years ago
  Sylvain bc2173baf9 Add testgeometry to draw a non uniform triangle 4 years ago