Commit Graph

12327 Commits

Author SHA1 Message Date
Anonymous Maarten
4bf650d488 Fix -Wundef warnings due to use of unguarded __IOS__ 2023-03-28 19:29:43 +02:00
Anonymous Maarten
785055bedf Fix -Wundef warnings due to use of unguarded __ANDROID__ 2023-03-28 19:29:43 +02:00
Anonymous Maarten
cfa6f77780 Fix -Wundef warnings due to use of unguarded SDL_SENSOR_DISABLED 2023-03-28 19:29:43 +02:00
Anonymous Maarten
2d651c43a1 Fix -Wundef warnings due to use of unguarded SDL_HAPTIC_DISABLED 2023-03-28 19:29:43 +02:00
Anonymous Maarten
4b9d10c9a5 Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_DISABLED 2023-03-28 19:29:43 +02:00
Anonymous Maarten
40113b03d3 Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DISABLED 2023-03-28 19:29:43 +02:00
Anonymous Maarten
2b39d63f27 Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DISABLED 2023-03-28 19:29:43 +02:00
Anonymous Maarten
ed4cd28e9f Fix -Wundef warnings due to use of unguarded SDL_TIMER_DUMMY 2023-03-28 19:29:43 +02:00
Anonymous Maarten
da6fdc6a3c Fix -Wundef warnings due to use of unguarded SDL_EVENTS_DISABLED 2023-03-28 19:29:43 +02:00
Anonymous Maarten
897c40285e Fix -Wundef warnings due to use of unguarded SDL_TIMERS_DISABLED 2023-03-28 19:29:42 +02:00
Anonymous Maarten
d63f69c3b0 Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_UIKIT 2023-03-28 19:29:42 +02:00
Anonymous Maarten
f14fe3f9aa Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_COCOA 2023-03-28 19:29:42 +02:00
Anonymous Maarten
995c345a62 Fix -Wundef warnings due to use of unguarded SDL_LOADSO_DUMMY 2023-03-28 19:29:42 +02:00
Anonymous Maarten
915d3159cf Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_ANDROID 2023-03-28 19:29:42 +02:00
Anonymous Maarten
7f68915681 Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WINDOWS 2023-03-28 19:29:42 +02:00
Anonymous Maarten
4e5f9b0419 Fix -Wundef warnings due to use of unguarded SDL_LOADSO_DISABLED 2023-03-28 19:29:42 +02:00
Anonymous Maarten
0c3777d566 video: fix warnings about unused variables when building without duff's loop 2023-03-28 16:59:27 +00:00
Anonymous Maarten
11c70406c3 testautomation_audio: fix -Wimplicit-fallthrough warning 2023-03-28 16:59:27 +00:00
Anonymous Maarten
f7961b7c9a video/blit: fix -Wimplicit-fallthrough warnings 2023-03-28 16:59:27 +00:00
Anonymous Maarten
e1b8a03239 testsurround: fix channel names
Used table in include/SDL3/SDL_audio.h as reference.
2023-03-28 16:59:27 +00:00
Sylvain
c838ccf0e3 Safety fix: clear "_this->wakeup_window" when destroying the window 2023-03-28 08:28:31 -07:00
Sylvain
0c048d98af Safety fix: clear "_this->current_glwin" when destroying the window 2023-03-28 08:28:31 -07:00
Sylvain
e494844e9a Fixed bug #7515 - Window still grabbed after destroying 2023-03-28 09:42:19 +02:00
Sylvain
1fe2110755 Don't clear checked_texture_framebuffer 2023-03-28 09:40:17 +02:00
Anonymous Maarten
cb076b83ff cmake: fix testnative for Macos 2023-03-28 04:01:50 +02:00
Anonymous Maarten
1259a60731 cmake: build tests as library on Android 2023-03-28 01:30:55 +02:00
Anonymous Maarten
b8b852a55b cmake: testnative can also be built on non-Linux 2023-03-28 00:43:54 +02:00
Elad Lahav
2a03ad2cbf AUDIO_U16 support was removed from SDL3 2023-03-27 15:33:08 -07:00
Elad Lahav
254f03388f Detect QCC as the compiler 2023-03-27 15:33:08 -07:00
Elad Lahav
5fee62d774 Rename files under src/video/qnx 2023-03-27 15:33:08 -07:00
Elad Lahav
b4f28fb532 Define _LARGEFILE64_SOURCE as 1 for all platforms 2023-03-27 15:33:08 -07:00
Elad Lahav
60d95e2a77 Use posix_spawn() on QNX 2023-03-27 15:33:08 -07:00
Elad Lahav
f352eeb90c Use the built-in version of vsnprintf() to support printing NULLs 2023-03-27 15:33:08 -07:00
Elad Lahav
b98a501e0d glGetProcAddress() should return SDL_FunctionPointer 2023-03-27 15:33:08 -07:00
Elad Lahav
bc9e0bb7ad Switch from EXTRA_LIBS to SDL_EXTRA_LIBS 2023-03-27 15:33:08 -07:00
Elad Lahav
eca7b8e4a1 Do not look at local headers when determining features
Avoids the detection of X11 on the build machine
2023-03-27 15:33:08 -07:00
Elad Lahav
c611c6ee6b Do not enable SYSWM_X11 for QNX 2023-03-27 15:33:08 -07:00
Elad Lahav
b026f588d6 Update to use SDL_GetFirstAudioFormat() and SDL_GetNextAudioFormat() 2023-03-27 15:33:08 -07:00
Elad Lahav
4b17cc3a46 Add CMake toolchain files 2023-03-27 15:33:08 -07:00
Elad Lahav
49a8b16ffd Fix use of _LARGEFILE64_SOURCE 2023-03-27 15:33:08 -07:00
Elad Lahav
4374645738 Add QNX video and audio modules 2023-03-27 15:33:08 -07:00
Elad Lahav
292b80a13a Treat the QNX compiler as GCC for using atomics 2023-03-27 15:33:08 -07:00
Elad Lahav
b47eeb8488 Add QNX as a platform to the cmake build files 2023-03-27 15:33:08 -07:00
Sam Lantinga
8029a767ee Fixed the accelerometer sensitivity for the Armor-X Pro controller 2023-03-27 14:27:22 -07:00
Sam Lantinga
3340864786 Increased precision for PS4 sensor data conversion 2023-03-27 14:21:05 -07:00
Pierre Wendling
975039ce0d SDL_hidapi_steam.c: Fix compilation under c2x.
When N2935 is implemented, the enum breaks compilation. Use a #define of
the SDL booleans instead.
2023-03-27 09:02:14 -07:00
Pierre Wendling
ea093378a2 Fix clang-tidy error on LLVM 16.
Starting LLVM 16, clang-diagnostic-implicit-function-declaration is
treated as an error.
2023-03-27 12:50:00 +03:00
Sylvain
d3faec0b6e testcommon/automation: add [--audio driver] option
allow to use --audio --video --renderer for testautomation
2023-03-27 10:23:18 +02:00
Anonymous Maarten
9ada9daf51 SDL_blit_copy: Don't call potentially FPU using SDL_memcpy in SDL_memcpyMMX 2023-03-27 06:12:49 +00:00
Anonymous Maarten
37c9329db2 cmake: rename SDL_AVX512 -> SDL_AVX512F cmake option 2023-03-27 06:12:49 +00:00