|
412ceb84
|
2022-05-24T16:27:54
|
|
video: Only check major version in SDL_GetWindowWMInfo
Since #5602, SDL is intended to have the same ABI across the whole
major-version 2 cycle, so we should not check that the minor version
matches the one that was used to compile an application.
There are two checks that could make sense here.
The first check is that the major version matches the expected major
version. This is usually unnecessary and is not usually done (if we're
calling into the wrong library we'll likely crash anyway), but since we
have the information, we might as well continue to use it.
The second check is whether the version provided by the caller is
equal to or greater than a threshold version at which additional fields
were added to the struct. If it is, we should populate those fields;
if it is not, then we cannot. This is only useful on platforms where
additional fields have genuinely been added during the lifetime of
SDL 2, like Windows and DirectFB (but not X11).
This commit changes the first check to be consistent about only looking
at the minor version, while leaving the second check using SDL_VERSIONNUM
(which will be removed or widened in SDL 3, but it's fine for now).
Resolves: https://github.com/libsdl-org/SDL/issues/5711
Fixes: cd7c2f1 "Switch versioning scheme to be the same as GLib and Flatpak"
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
3753a7b1
|
2022-04-19T14:42:39
|
|
Fix recent changes in VitaSDK
|
|
95c0fec5
|
2022-03-31T12:35:17
|
|
Vita: PVROGL: fix indentation and ifdef guards
|
|
b5700ab3
|
2022-03-29T19:32:21
|
|
Cleanup Spaces
|
|
8c542a35
|
2022-03-29T19:08:56
|
|
Desktop OpenGL 1.X/2.X PSVita Support
|
|
ecd922b5
|
2022-02-01T22:33:13
|
|
Fix touch holding detection after #5244 changes
|
|
60deadba
|
2022-01-17T17:22:30
|
|
re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory
|
|
120c76c8
|
2022-01-03T09:40:00
|
|
Updated copyright for 2022
|
|
d31251b0
|
2021-11-21T22:30:48
|
|
use SDL's functions version inplace of libc version
|
|
9c799802
|
2021-10-26T15:18:26
|
|
Vita: fix IME input languages
|
|
8d1e0ca3
|
2021-09-16T12:48:39
|
|
Vita: add support for disabling 'screensaver' (screen dimming and suspend)
|
|
ce177049
|
2021-09-12T09:34:41
|
|
Vita: Allow completely skipping pvr init to override apphint from app
|
|
b2504b5d
|
2021-09-11T20:08:03
|
|
Fix typos
|
|
f162d9ee
|
2021-09-10T21:02:22
|
|
Fix Indentation
|
|
058c4d36
|
2021-09-10T20:55:49
|
|
Add envvar to disable touchpads independently
|
|
4435543d
|
2021-09-10T20:01:40
|
|
Add PVR On Screen Keyboard Support
|
|
e4556594
|
2021-09-10T21:13:51
|
|
Simplify Backspace and Enter
|
|
10d3df44
|
2021-09-09T12:46:28
|
|
Vita: fix copyright dates
|
|
2a836860
|
2021-09-09T12:36:40
|
|
Fix default path
|
|
134dd468
|
2021-08-16T19:08:12
|
|
Add pvr gles/gles2 context support
|
|
bc3b98f3
|
2021-07-25T03:33:44
|
|
Replace with SDL_SendKeyboardKeyAutoRelease
|
|
5cd37c0a
|
2021-07-25T01:04:51
|
|
Add Enter Key support to PSVita IME keyboard
|
|
7b0092db
|
2021-07-23T18:58:25
|
|
vita: touch: Mark the back panel as an indirect absolute touch device
It's not a touchscreen, but an additional touch panel on the back of
the device.
|
|
48bbe31b
|
2021-07-20T21:45:21
|
|
Add PreSwapCallback for updating SceCommonDialog
|
|
9c1306bc
|
2021-07-20T21:44:16
|
|
Add elgext.h header
|
|
0994a758
|
2021-07-01T20:36:49
|
|
Don't hardcode message length
|
|
9d452719
|
2021-06-21T15:42:47
|
|
Vita: append messagebox title
|
|
bbdd08e0
|
2021-06-10T13:20:39
|
|
Build without PIB support by default and add flag to enable it
|
|
c2b8b556
|
2021-06-10T12:06:28
|
|
Older api, not needed
|
|
33127271
|
2021-03-09T11:40:35
|
|
Fix typecasting
|
|
a4ddb175
|
2021-03-08T19:28:58
|
|
Formatting
|
|
4f9fde87
|
2021-03-08T19:20:33
|
|
Fix types
|
|
e1d9cbf6
|
2021-03-07T13:56:38
|
|
Split mouse/kb grab
|
|
29153a1c
|
2021-02-28T14:38:55
|
|
SDL_vitamessagebox: rearrange if/else
Set messageboxdata and buttonid as unused variables
|
|
70a19fd5
|
2021-02-28T13:59:51
|
|
SDL_vitamessagebox: if/else wrap preprocessor condition instead of two if conditions
|
|
c8abc88c
|
2021-01-29T01:26:35
|
|
Add support for message box
|
|
6fab3323
|
2021-02-12T23:45:48
|
|
Typo
|
|
23db5381
|
2021-01-11T23:54:56
|
|
Fix defines
|
|
e56c4451
|
2021-01-10T00:12:03
|
|
Disable native framebuffer support
|
|
5e30d84b
|
2021-01-09T23:33:32
|
|
Fix display mode
|
|
10038228
|
2021-01-09T23:33:14
|
|
Properly cleanup framebuffer
|
|
953101de
|
2021-01-09T22:55:11
|
|
Oops. Fix default framebuffer color
|
|
1e2eed1a
|
2020-12-28T15:32:52
|
|
Native framebuffer for software renderer
|
|
a7269a9a
|
2020-12-23T17:27:01
|
|
Update video api to 2.0.14
|
|
ca5e5d61
|
2020-12-18T16:34:24
|
|
VITASDK compatibility
|
|
7d89f09f
|
2020-12-18T14:28:09
|
|
ISO C90 fixes
|
|
0da35d3d
|
2020-12-12T23:47:15
|
|
IME support with gxm backend
|
|
943053a9
|
2020-12-09T01:50:49
|
|
Clean up touch a little more
|
|
f61b9e76
|
2020-12-09T00:37:46
|
|
Cleanup touch. Fix back touchscreen
|
|
bd14aa63
|
2020-11-21T23:09:30
|
|
Autobuild
|
|
ef0bbfd6
|
2020-11-16T20:40:22
|
|
Include anf fix vita2d renderer
|
|
dbb730d3
|
2020-11-14T23:37:26
|
|
Separate vita piglet renderer. Add proper render initialization and window re-creation.
|
|
2d64e37e
|
2020-11-02T18:09:43
|
|
Initial rebase of xerpi's port
|