|
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>
|
|
95c0fec5
|
2022-03-31T12:35:17
|
|
Vita: PVROGL: fix indentation and ifdef guards
|
|
8c542a35
|
2022-03-29T19:08:56
|
|
Desktop OpenGL 1.X/2.X PSVita Support
|
|
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
|
|
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)
|
|
b2504b5d
|
2021-09-11T20:08:03
|
|
Fix typos
|
|
f162d9ee
|
2021-09-10T21:02:22
|
|
Fix Indentation
|
|
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
|
|
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
|
|
bbdd08e0
|
2021-06-10T13:20:39
|
|
Build without PIB support by default and add flag to enable it
|
|
33127271
|
2021-03-09T11:40:35
|
|
Fix typecasting
|
|
4f9fde87
|
2021-03-08T19:20:33
|
|
Fix types
|
|
e1d9cbf6
|
2021-03-07T13:56:38
|
|
Split mouse/kb grab
|
|
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
|
|
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
|
|
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
|