mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-20 06:53:30 +00:00
Watch out! Skins!
This commit is contained in:
12
src/platform/PngLoader.h
Normal file
12
src/platform/PngLoader.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef PNGLOADER_H__
|
||||
#define PNGLOADER_H__
|
||||
|
||||
#include "../client/renderer/TextureData.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
/// Decode a PNG (from memory) into a TextureData.
|
||||
/// Returns an empty TextureData on failure.
|
||||
TextureData loadPngFromMemory(const unsigned char* data, size_t size);
|
||||
|
||||
#endif // PNGLOADER_H__
|
||||
Reference in New Issue
Block a user