SDL/src/render
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
..
direct3d Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
direct3d11 Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
direct3d12 Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
metal Don't recreate the window when creating a Metal renderer on an OpenGL window. 2022-11-15 10:21:07 -08:00
opengl Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
opengles Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
opengles2 Cleanup add brace (#6545) 2022-11-28 12:33:03 -08: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
software Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
vitagxm Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_d3dmath.c DirectX 12 Renderer (#5761) 2022-06-06 17:42:30 -07:00
SDL_d3dmath.h Add support for SDL_render_d3d12.c to compile in C++ mode 2022-06-26 15:35:18 -07:00
SDL_render.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_sysrender.h JANITORIAL : Correct some more spelling mistakes (#6489) 2022-11-06 11:49:37 -08:00
SDL_yuv_sw.c Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
SDL_yuv_sw_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00