83df4a354e
SDL_render.c: remove unsused case, since renderer target has been forced to NULL previously (see bug #4213)
Sylvain
2022-03-22 15:25:01 +01:00
f782abe5f0
hints: Added SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE.
Ryan C. Gordon
2022-03-22 09:52:52 -04:00
34fd83ca06
Don't try to hide foreign windows when destroying the SDL window representation
Sam Lantinga
2022-03-22 06:50:10 -07:00
9dc201d448
Fixed bug #2962 - when SDL_RenderReadPixels format = 0, used format of the target texture include/SDL_render.h, format: "0 to use the format of the rendering target "
Sylvain
2022-03-21 10:41:14 +01:00
7f1feee02a
Fixed bug #2426 - SDL_RenderReadPixels result is unspecified and fails testautomation Call SDL_RenderPresent after calling SDL_RenderReadPixels. From "include/SDL_render.h": "If you're using this on the main rendering target, it should be called after rendering and before SDL_RenderPresent()."
Sylvain
2022-03-21 10:20:04 +01:00
2b3c16eb5b
Sync wiki -> headers.
Ryan C. Gordon
2022-03-20 23:17:14 -04:00
24ffcbd9ad
audio: Set error message on dsp init failure.
Eddy Jansson
2022-03-20 17:23:34 +01:00
8f964576da
Fixed parameter operation ordering for ease of reading
Sam Lantinga
2022-03-19 11:01:55 -07:00
0517b61ed6
Relative mouse mode is tied to the window with keyboard focus
Sam Lantinga
2022-03-19 11:00:00 -07:00
b559a4accc
Fixed Android crash when SDL_HIDAPI_DISABLED set to 1
Sam Lantinga
2022-03-19 10:39:22 -07:00
a485ffc3c8
Fix "SDL_FALSE is not defined" runtime error for emscripten.
Sam Lantinga
2022-03-19 09:50:22 -07:00
d81fee7623
SDL_Rect: Added floating point versions of all the rectangle APIs.
Ryan C. Gordon
2022-03-19 10:27:31 -04:00
4d9bef604a
SDL_Rect: minor code cleanups.
Ryan C. Gordon
2022-03-19 09:44:09 -04:00
c573ebe143
SDL_UnionRect: If both rects are empty, zero out the result struct.
Ryan C. Gordon
2022-03-19 09:29:01 -04:00
fbbd0270eb
Fix "SDL_TRUE is not defined" runtime error for emscripten.
Christian Kündig
2022-03-18 23:10:19 +01:00
aef1e56737
Sync wiki -> header
SDL Wiki Bot
2022-03-18 17:30:05 +00:00
40b7326b38
Added a note that SDL_RenderReadPixels() should be called before SDL_RenderPresent()
Sam Lantinga
2022-03-18 10:28:38 -07:00
6c96217727
Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER, controlling whether the mouse should be constrained to the center of the window or the whole window in relative mode.
Sam Lantinga
2022-03-18 10:07:59 -07:00
d3cc5764c0
Modern CMake doesn't need "LANGUAGE C" for Objective-C
Sam Lantinga
2022-03-18 07:36:16 -07:00
1868c5b521
Start rumbling once a raw input controller has been correlated
Sam Lantinga
2022-03-17 18:25:50 -07:00
3167ba342d
Fixed freeing the Windows blank cursor
Sam Lantinga
2022-03-17 17:58:35 -07:00
0387bf821a
Fixed memory leak in WIN_CreateBlankCursor()
Sam Lantinga
2022-03-17 17:55:28 -07:00
5ff42438e3
Added a hint to capture the mouse when mouse buttons are pressed, defaulting on
Sam Lantinga
2022-03-17 17:39:46 -07:00
09b8152fae
Use SDL_Log instead of printf
Sam Lantinga
2022-03-17 17:19:21 -07:00
b22ce2b5a8
Workaround for bug in Microsoft WGI support
Sam Lantinga
2022-03-17 17:10:40 -07:00
d406278513
Try not forcing activation when grabbing the mouse in fullscreen windows
Sam Lantinga
2022-03-17 17:01:36 -07:00
4e784fce43
When updating grab state, only activate windows that are grabbed, fullscreen, and shown.
Sam Lantinga
2022-03-17 16:57:33 -07:00
e5f45455c9
Added a hint to mark a foreign window as usable with OpenGL
Sam Lantinga
2022-03-17 14:44:34 -07:00
4e49b78a11
Fixed compile warning and comment typo
Sam Lantinga
2022-03-17 14:44:17 -07:00
0bf8ccfb60
video: Add a hint to allow Vulkan surfaces on foreign windows
Ethan Lee
2022-02-08 22:15:11 -05:00
ecaa22cbe6
Don't warn if anyone peeps for events after quitting the event subsystem
Sam Lantinga
2022-03-17 14:22:51 -07:00
3318590796
Fix relative mouse input for Unvanquished (unvanquished.net)
Antoine Fontaine
2022-03-09 17:02:32 +01:00
a164c9d245
SDL_cocoawindow.m: update fullscreen toggle when SDL_SetWindowResizable called
uyjulian
2022-01-04 10:43:34 -06:00
cc152103ba
Fixed warnings when building with cygwin
Sam Lantinga
2022-03-17 11:37:08 -07:00
e8c3ff56e0
Removed problematic call to ISensor_SetEventSink()
Sam Lantinga
2022-03-17 10:01:13 -07:00
bcb0f1de23
Fixed build when events are disabled
Sam Lantinga
2022-03-17 08:52:31 -07:00
01bfde4520
simplify SetDSerror - no need to keep the error in a static variable - always print the error code - reduce the required stack-size - reduce the number of snprintf calls (and code size)
pionere
2022-03-17 12:22:18 +01:00
01663238dc
testplatform.c: move static asserts out of TestTypes().
Ozkan Sezer
2022-03-17 14:56:50 +03:00
f0d2747df1
use _Static_assert for SDL_COMPILE_TIME_ASSERT(), when available
Ozkan Sezer
2022-03-17 14:56:04 +03:00
dfbe1f7248
SDL_GetBasePath() fixes for OS/2
Ozkan Sezer
2022-03-17 03:50:02 +03:00
b2db570ce9
SDL_triangle_blit_slow: sync code with SDL_blit_slow to handle ARGB2101010
Sylvain
2022-03-16 18:09:40 +01:00
93e7caab9a
SDL_blit_slow: remove one nested 'if()' because of ARGB2101010 handling
Sylvain
2022-03-16 18:08:20 +01:00