stb image moved to externals

This commit is contained in:
psucien 2024-05-15 20:35:01 +02:00 committed by georgemoralis
parent c9b5b5e963
commit 3d5be23671
3 changed files with 7 additions and 6 deletions

View File

@ -8,9 +8,9 @@ Files: CMakeSettings.json
documents/readme.txt documents/readme.txt
.github/shadps4.desktop .github/shadps4.desktop
.github/shadps4.png .github/shadps4.png
.gitmodules .gitmodules
src/images/shadps4.ico src/images/shadps4.ico
screenshots/screenshot.png screenshots/screenshot.png
src/images/controller_icon.png src/images/controller_icon.png
src/images/exit_icon.png src/images/exit_icon.png
src/images/file_icon.png src/images/file_icon.png
@ -25,7 +25,8 @@ Files: CMakeSettings.json
src/images/settings_icon.png src/images/settings_icon.png
src/images/stop_icon.png src/images/stop_icon.png
src/images/themes_icon.png src/images/themes_icon.png
src/shadps4.rc src/shadps4.rc
src/shadps4.qrc src/shadps4.qrc
externals/stb_image.h
Copyright: shadPS4 Emulator Project Copyright: shadPS4 Emulator Project
License: GPL-2.0-or-later License: GPL-2.0-or-later

View File

@ -10,7 +10,7 @@
#define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_PNG #define STBI_ONLY_PNG
#define STBI_NO_STDIO #define STBI_NO_STDIO
#include "third-party/stb_image.h" #include "externals/stb_image.h"
bool Splash::Open(const std::string& filepath) { bool Splash::Open(const std::string& filepath) {
ASSERT_MSG(filepath.ends_with(".png"), "Unexpected file format passed"); ASSERT_MSG(filepath.ends_with(".png"), "Unexpected file format passed");