File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ static constexpr auto MISSING_IMAGE_TEXTURE_BASE64_DECODE =
2121 DecodeBase64<MISSING_IMAGE_TEXTURE_BASE64_DECODE_LENGTH>(
2222 MISSING_IMAGE_TEXTURE);
2323
24+ namespace Util {
2425SDL_Surface *GetMissingFontTextureSDLSurface ();
2526SDL_Surface *GetMissingImageTextureSDLSurface ();
27+ } // namespace Util
2628
2729#endif
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ std::shared_ptr<SDL_Surface> LoadSurface(const std::string &filepath) {
1616 SDL_FreeSurface);
1717
1818 if (surface == nullptr ) {
19- surface = {GetMissingImageTextureSDLSurface (), SDL_FreeSurface};
19+ surface = {Util:: GetMissingImageTextureSDLSurface (), SDL_FreeSurface};
2020 LOG_ERROR (" Failed to load image: '{}'" , filepath);
2121 LOG_ERROR (" {}" , IMG_GetError ());
2222 }
You can’t perform that action at this time.
0 commit comments