mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
stb image moved to externals
This commit is contained in:
parent
c9b5b5e963
commit
3d5be23671
|
@ -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
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue