summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Image.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-12-27 16:32:32 +0100
committerJosJuice <josjuice@gmail.com>2018-05-20 13:44:38 +0200
commit17e65a7167caaf9d55ae7ea0141c298d02689ea2 (patch)
treea85016919258539bddc6d3847fe8932c6d882361 /Source/Core/Common/Image.h
parent0706add5840edcc7faeca538dafcd4f56cee7940 (diff)
VideoCommon: Replace SOIL with libpng for hires textures
Diffstat (limited to 'Source/Core/Common/Image.h')
-rw-r--r--Source/Core/Common/Image.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/Core/Common/Image.h b/Source/Core/Common/Image.h
new file mode 100644
index 0000000000..d1354b8e0b
--- /dev/null
+++ b/Source/Core/Common/Image.h
@@ -0,0 +1,15 @@
+// Copyright 2016 Dolphin Emulator Project
+// Licensed under GPLv2+
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include <vector>
+
+#include "Common/CommonTypes.h"
+
+namespace Common
+{
+bool LoadPNG(const std::vector<u8>& input, std::vector<u8>* data_out, u32* width_out,
+ u32* height_out);
+}