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

@ -27,5 +27,6 @@ Files: CMakeSettings.json
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");