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:
parent
9ac78d0352
commit
7e1fea6f76
111 changed files with 486 additions and 464 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue