stb image moved to externals
This commit is contained in:
parent
c9b5b5e963
commit
3d5be23671
11
.reuse/dep5
11
.reuse/dep5
|
@ -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
|
||||||
|
|
|
@ -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 New Issue