summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/mu_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/mu_common.cpp')
-rw-r--r--plugins/HistoryStats/src/mu_common.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/HistoryStats/src/mu_common.cpp b/plugins/HistoryStats/src/mu_common.cpp
index 17c84e7eee..74cd534b0f 100644
--- a/plugins/HistoryStats/src/mu_common.cpp
+++ b/plugins/HistoryStats/src/mu_common.cpp
@@ -207,32 +207,6 @@ namespace mu
}
/*
- * png
- */
-
- namespace png
- {
- bool _available()
- {
- return
- true &&
- ServiceExists(MS_DIB2PNG);
- }
-
- bool dibToPng(const BITMAPINFOHEADER* pBMIH, const BYTE* pDIData, BYTE* pImageData, long* pImageLen)
- {
- DIB2PNG info;
-
- info.pbmi = const_cast<BITMAPINFO*>(reinterpret_cast<const BITMAPINFO*>(pBMIH));
- info.pDiData = const_cast<BYTE*>(pDIData);
- info.pResult = pImageData;
- info.pResultLen = pImageLen;
-
- return bool_(CallService(MS_DIB2PNG, 0, reinterpret_cast<LPARAM>(&info)));
- }
- }
-
- /*
* proto
*/