Skip to content

Commit 95b9f7e

Browse files
committed
I am physical hacker
1 parent 739d806 commit 95b9f7e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/Util/MissingTexture.cpp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
namespace Util {
88
SDL_Surface *GetMissingImageTextureSDLSurface() {
9-
SDL_RWops *rwop = SDL_RWFromConstMem(MISSING_IMAGE_TEXTURE_BASE64_DECODE.data(),
10-
MISSING_IMAGE_TEXTURE_BASE64_DECODE.size());
9+
SDL_RWops *rwop =
10+
SDL_RWFromConstMem(MISSING_IMAGE_TEXTURE_BASE64_DECODE.data(),
11+
MISSING_IMAGE_TEXTURE_BASE64_DECODE.size());
1112
SDL_Surface *aSurface = IMG_LoadTyped_RW(rwop, 1, "PNG");
1213

1314
if (aSurface == nullptr) {
@@ -18,8 +19,9 @@ SDL_Surface *GetMissingImageTextureSDLSurface() {
1819
}
1920

2021
SDL_Surface *GetMissingFontTextureSDLSurface() {
21-
SDL_RWops *rwop = SDL_RWFromConstMem(MISSING_FONT_TEXTURE_BASE64_DECODE.data(),
22-
MISSING_FONT_TEXTURE_BASE64_DECODE.size());
22+
SDL_RWops *rwop =
23+
SDL_RWFromConstMem(MISSING_FONT_TEXTURE_BASE64_DECODE.data(),
24+
MISSING_FONT_TEXTURE_BASE64_DECODE.size());
2325
SDL_Surface *aSurface = IMG_LoadTyped_RW(rwop, 1, "JPG");
2426

2527
if (aSurface == nullptr) {
@@ -28,4 +30,5 @@ SDL_Surface *GetMissingFontTextureSDLSurface() {
2830

2931
return aSurface;
3032
}
31-
}
33+
} // namespace Util
34+

0 commit comments

Comments
 (0)