summaryrefslogtreecommitdiffstats
path: root/src/common/stb.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-25 23:21:37 +0200
committerGitHub <noreply@github.com>2023-10-25 23:21:37 +0200
commit43be2bfe332d5537041262eb08037993239eaf5f (patch)
tree65ad2049b7ce6b0464069d23058a25fc4c457fff /src/common/stb.cpp
parentMerge pull request #11876 from liamwhite/apiversion (diff)
parentcmake: prefer system stb headers (diff)
downloadyuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.gz
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.bz2
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.lz
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.xz
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.tar.zst
yuzu-43be2bfe332d5537041262eb08037993239eaf5f.zip
Diffstat (limited to 'src/common/stb.cpp')
-rw-r--r--src/common/stb.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/stb.cpp b/src/common/stb.cpp
new file mode 100644
index 000000000..d3b16665d
--- /dev/null
+++ b/src/common/stb.cpp
@@ -0,0 +1,8 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#define STB_IMAGE_IMPLEMENTATION
+#define STB_IMAGE_RESIZE_IMPLEMENTATION
+#define STB_IMAGE_WRITE_IMPLEMENTATION
+
+#include "common/stb.h"