SDL/src/video
Sylvain Becker fb0ce375f0 Cleanup add brace (#6545)
* Add braces after if conditions

* More add braces after if conditions

* Add braces after while() conditions

* Fix compilation because of macro being modified

* Add braces to for loop

* Add braces after if/goto

* Move comments up

* Remove extra () in the 'return ...;' statements

* More remove extra () in the 'return ...;' statements

* More remove extra () in the 'return ...;' statements after merge

* Fix inconsistent patterns are xxx == NULL vs !xxx

* More "{}" for "if() break;"  and "if() continue;"

* More "{}" after if() short statement

* More "{}" after "if () return;" statement

* More fix inconsistent patterns are xxx == NULL vs !xxx

* Revert some modificaion on SDL_RLEaccel.c

* SDL_RLEaccel: no short statement

* Cleanup 'if' where the bracket is in a new line

* Cleanup 'while' where the bracket is in a new line

* Cleanup 'for' where the bracket is in a new line

* Cleanup 'else' where the bracket is in a new line

(cherry picked from commit 6a2200823c66e53bd3cda4a25f0206b834392652 to reduce conflicts merging between SDL2 and SDL3)
2022-11-28 12:33:03 -08:00
..
android Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
arm ARM: NEON assembly optimization for SDL_FillRect 2019-10-24 21:17:52 -04:00
cocoa Fix build with Xcode < 7 2022-11-26 20:36:54 -08:00
directfb Fixed DirectFB build 2022-10-28 08:39:02 -07:00
dummy Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
emscripten Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
haiku Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
khronos vulkan_metal.h: Make compatible with ObjC ARC 2022-11-23 17:39:26 -08:00
kmsdrm Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
n3ds Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
nacl Disable "The key you just pressed is not recognized by SDL." message by default 2022-10-13 23:56:17 -07:00
ngage Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
offscreen Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
os2 Don't compare pointer against '0', but NULL 2022-11-16 21:47:43 +01:00
pandora video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
ps2 Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
psp Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
qnx QNX: use SDL_malloc 2021-11-22 08:38:46 -08:00
raspberry Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
riscos Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
uikit Don't recreate the window when creating a Metal renderer on an OpenGL window. 2022-11-15 10:21:07 -08:00
vita Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
vivante Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
wayland Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
windows Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
winrt Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
x11 Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
yuv2rgb Add optimiztion function with LSX in LoongArch 2022-06-06 08:49:09 -07:00
SDL_blit.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_blit.h fixed SDL_BlitMap typedef redefinition errors 2022-06-22 01:37:00 +03:00
SDL_blit_0.c Fixed bug #2140: basic support to convert 16 colors palette PIXELFORMAT_INDEX4, to allow conversion to SDL_Texture 2022-02-10 13:44:59 +01:00
SDL_blit_1.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_A.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_blit_auto.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_blit_auto.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_copy.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_blit_copy.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_N.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_blit_slow.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_blit_slow.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bmp.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_clipboard.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_egl.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_egl_c.h Rename variables in SDL_egl.c to be more intuitive 2022-06-11 14:20:18 -07:00
SDL_fillrect.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_pixels.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_pixels_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_rect_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect_impl.h Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_RLEaccel.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_RLEaccel_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_shape.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_shape_internals.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_stretch.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_surface.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_sysvideo.h N3DS port (squashed) 2022-10-10 08:50:59 -07:00
SDL_video.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_vulkan_internal.h cocoa/uikit: Support VK_EXT_metal_surface 2022-08-19 09:48:22 -07:00
SDL_vulkan_utils.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_yuv.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_yuv_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
sdlgenblit.pl Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00