clang-format all files in {Source,test}/

Also includes a few manual tweaks to comments and newlines for better results.

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
This commit is contained in:
Gleb Mazovetskiy 2021-11-23 21:53:01 +00:00 committed by Anders Jenbo
commit 7e1fea6f76
111 changed files with 486 additions and 464 deletions

View file

@ -308,7 +308,7 @@ void RenderPresent()
#ifndef USE_SDL1
if (renderer != nullptr) {
if (SDL_UpdateTexture(texture.get(), nullptr, surface->pixels, surface->pitch) <= -1) { //pitch is 2560
if (SDL_UpdateTexture(texture.get(), nullptr, surface->pixels, surface->pitch) <= -1) { // pitch is 2560
ErrSdl();
}