03f27a3a75
Add robustness getting the EGL version (see bug #4040)
Sylvain Becker
2019-10-18 13:27:58 +02:00
3ecce84749
egl: adjust how we load symbols in SDL_EGL_GetProcAddress.
Ryan C. Gordon
2019-10-18 00:07:32 -04:00
4f304fd88c
Added support for the BDA PS4 Fightpad
Sam Lantinga
2019-10-17 18:07:52 -07:00
a1349d4627
Build fix for the build fix
Sam Lantinga
2019-10-17 17:51:36 -07:00
097b9c3084
Better fix for iOS build
Sam Lantinga
2019-10-17 17:51:49 -07:00
8984d25bfa
Fixed build on iOS
Sam Lantinga
2019-10-17 17:47:27 -07:00
bf9092cf4a
Removed unused variable
Sam Lantinga
2019-10-17 17:47:11 -07:00
b3470f04b1
Added the hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to control whether Nintendo Switch controllers use their button labels or button positions for game controller button reporting.
Sam Lantinga
2019-10-17 17:32:47 -07:00
e6ac16ef2f
Added support for third party Nintendo Switch controllers that don't support the full protocol
Sam Lantinga
2019-10-17 16:59:05 -07:00
43c5f62d44
Merged latest data from Steam
Sam Lantinga
2019-10-17 16:14:17 -07:00
216f5b98ac
metal: Fix compilation when using older Apple SDKs (bug #4828).
Alex Szpakowski
2019-10-17 18:48:58 -03:00
6be83e6141
emscripten: Patched to compile (thanks, Caleb!).
Ryan C. Gordon
2019-10-16 13:54:35 -04:00
1b4de45d05
Fixed bug 4785 - SDL_CreateRGBSurface creates 1-bit surfaces with zero pitch
Sam Lantinga
2019-10-16 08:45:54 -07:00
ed7483f82c
x11: On macOS, look for X11 install in /opt/X11 instead of /usr/X11R6.
Ryan C. Gordon
2019-10-15 22:36:08 -04:00
02a2ec986f
video: Make sure SDL_FillRects()'s fill_function isn't used unitialized.
Ryan C. Gordon
2019-10-15 14:55:09 -04:00
eb066a716c
include: Removed a FIXME comment.
Ryan C. Gordon
2019-10-15 14:17:32 -04:00
9f636be8c0
video: Removed unused variables.
Ryan C. Gordon
2019-10-15 14:04:43 -04:00
e23067eab2
video: speed up SDL_FillRect[s] slightly (thanks, Jakub!).
Ryan C. Gordon
2019-10-15 14:03:01 -04:00
e9c1e1269c
test: Fixed wrong verbose flag check (thanks, watcom.hecht!).
Ryan C. Gordon
2019-10-15 12:02:19 -04:00
16dee35cfe
windows: Remove /ARCH:SSE option from x64 Visual Studio builds.
Ryan C. Gordon
2019-10-15 09:07:12 -04:00
aa0a6518a2
test: Fixed compiler warning on Visual Studio.
Ryan C. Gordon
2019-10-15 08:54:25 -04:00
31ee4d3d81
Reduce delay to 1 ms in SDL_WaitEventTimeout() and SDL_WaitEvent()
Cameron Gutman
2018-11-03 15:46:42 -07:00
526b9bdf1c
Backed out changeset b0241180cdc5 Better commit incoming!
Sam Lantinga
2019-10-14 22:41:27 -07:00
cd8652d8f3
events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms.
Ryan C. Gordon
2019-10-15 01:13:44 -04:00
d5e378d198
cocoa: Implement SDL_WINDOW_ALWAYS_ON_TOP support (thanks, Gabriel!).
Ryan C. Gordon
2019-10-15 00:59:10 -04:00
ec04110d8e
dynapi: Deal with failure cases better, other fixes.
Ryan C. Gordon
2019-10-14 12:41:06 -04:00
fe20c35be8
Fixed race condition when scaling Touch events, and changing the renderer target. Always read the output size of the main renderer. (similar to bug 2107)
Sylvain Becker
2019-10-14 16:40:46 +02:00
074f6a512d
macOS: Fix the initial window background not being black since macOS 10.14.2 or so, when OpenGL is used (bug #4810). Also fixes "CGContext: invalid context 0x0" errors when an OpenGL window is created (bug #4470).
Alex Szpakowski
2019-10-14 00:51:53 -03:00
009226c61e
macOS: Fix non-highdpi OpenGL contexts not scaling properly in macOS 10.15 (bug 4810 and 4822).
Alex Szpakowski
2019-10-13 21:39:20 -03:00
f8bdefe1b5
macOS: Fix asserts in SDL_Render's metal scissor code when the window is resized.
Alex Szpakowski
2019-10-13 15:18:28 -03:00
1773da89f9
macOS: Fix a new issue in 10.15 where the window decorations don't always get restored after SDL_SetWindowFullscreen(window, 0).
Alex Szpakowski
2019-10-13 12:16:40 -03:00
3b0dcaf474
Fixed bug 4797 - SDL fails to compile with Mesa Master (thanks Michael Olbrich!)
Sylvain Becker
2019-10-12 18:47:56 +02:00
ffc7d09197
endpointvolume.h checks not needed since changeset 13078:8ab094a9df6b .
Ozkan Sezer
2019-10-01 14:00:02 +03:00
7d47f526a7
SDL_LockTextureToSurface: robustness of locked region compared to texture size
Sylvain Becker
2019-10-01 09:26:30 +02:00
a664e95d65
dynapi: move new SDL_LockTextureToSurface addition to the end of file.
Ozkan Sezer
2019-10-01 00:05:50 +03:00
1ae61f1009
Added a helper function SDL_LockTextureToSurface() Similar to SDL_LockTexture(), except the locked area is exposed as a SDL surface.
Sylvain Becker
2019-09-30 20:58:44 +02:00
f46ac1e9f7
macOS: Fix SDL_metal.h not being copied to the framework's Headers folder when SDL.framework is built using Xcode.
Alex Szpakowski
2019-09-27 20:15:42 -03:00
191fe25b1a
Fixed rtkit feature guard
Sam Lantinga
2019-09-27 15:21:31 -07:00
84dc44e24d
Fix the RealtimeKit dbus include guards
Sam Lantinga
2019-09-27 15:21:27 -07:00
4001e6b351
stdlib: Patched to compile.
Ryan C. Gordon
2019-09-26 13:44:49 -04:00
987aa3113c
stdlib: Try to coerce VS2019 to not replace some loops with memset() calls.
Ryan C. Gordon
2019-09-26 12:55:05 -04:00
aef1ed4ac6
audio: Set (something close to) the correct silence value for U16 audio.
Ryan C. Gordon
2019-09-25 15:40:27 -04:00
693755f0b2
coreaudio: Apple doesn't support U16 data, so convert in that case.
Ryan C. Gordon
2019-09-25 15:07:07 -04:00
ee6d504ae9
offscreen: Define missing define on a older EGL for an EXT function which it wont have
Brandon Schaefer
2019-09-24 17:49:53 -04:00
8a41948e7f
offscreen: Avoid using EGLDeviceEXT as it causes issues with older platforms, which is just a void*
Brandon Schaefer
2019-09-24 17:27:51 -04:00
68985371a0
offscreen: Add new video driver backend Offscreen
Brandon Schaefer
2019-09-24 16:36:48 -04:00
3d55a51482
CMake: tabs to spaces in new parts of README-cmake.md
David Ludwig
2019-09-23 18:30:22 -04:00
00bc7f6b96
CMake: document iOS/tvOS support in README-cmake.md
David Ludwig
2019-09-23 18:27:14 -04:00
6398abe588
CMake: bug-fix for tvOS support
David Ludwig
2019-09-23 18:24:03 -04:00
4e518f98a8
CMake: add version strings to Apple Info.plist files
David Ludwig
2019-09-23 17:48:14 -04:00
ec65a34b8e
CMake: tvOS support/fixes
David Ludwig
2019-08-27 12:30:20 -04:00
b13c951cca
CMake: iOS support added
David Ludwig
2019-08-27 11:07:43 -04:00
abd1dd6617
Add Hygon Dhyana processor support
Jinke Fan
2019-05-15 19:54:36 +08:00
a74d33b796
SDL_messagebox.h: remove comma at end of enumerator list
Ozkan Sezer
2019-09-22 21:41:20 +03:00
213de48887
update version number in Makefile.os2 too
Ozkan Sezer
2019-09-22 20:47:00 +03:00
3fe2d8368c
Updated SDL development builds to version 2.0.11
Sam Lantinga
2019-09-22 10:37:16 -07:00
cbde0ffa3d
The PS4 is ignoring the volume values in the report, so we don't need to fill them in.
Sam Lantinga
2019-09-19 16:50:49 -07:00
3efea5ea28
Don't have Windows headers define min/max, in case they're defined by application code
Sam Lantinga
2019-09-11 15:08:37 -07:00
79e388bfd8
Fixed bug 4798 - PNG w/transparency breaks in SDL 2.0.10 but works in SDL 2.0.9
Sylvain Becker
2019-09-10 17:12:34 +02:00
32bb8b4b40
test: replace some exit()s with returns.
Ozkan Sezer
2019-09-10 10:03:20 +03:00
791df27a30
Fixed compiler warning on Android
Sam Lantinga
2019-09-09 13:50:46 -07:00
715e070d29
SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC
Sam Lantinga
2019-09-06 08:50:19 -07:00
2d37d29183
KMSDRM_GLES_SwapWindow: fix non-vsync case If KMSDRM_drmModeSetCrtc is called when the swap interval is set to 0, the driver behaves as though vertical sync is engaged by limiting framerate to the refresh rate, but performance is much worse than with vertical sync enabled.
Conn O'Griofa
2019-09-06 08:44:46 -07:00
aaec90e5c5
Fixed bug 4789 - Linux accelerometers no longer available as joysticks
Sam Lantinga
2019-09-06 08:42:54 -07:00
8a394209c4
SDL_windowsevents.c: remove isVistaOrNewer (not used since 8cb1dc50bb28)
Ozkan Sezer
2019-09-05 20:47:20 +03:00