File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 66
77namespace Util {
88SDL_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
2021SDL_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+
You can’t perform that action at this time.
0 commit comments