This commit is contained in:
Kolyah35
2026-03-11 02:30:38 +03:00
parent d25a04f154
commit 99164a781d

View File

@@ -12,6 +12,11 @@
#include <GLFW/glfw3.h>
#include <ctime>
#ifdef _WIN32
#include <windows.h>
#include <shellapi.h>
#endif
static void png_funcReadFile(png_structp pngPtr, png_bytep data, png_size_t length) {
((std::istream*)png_get_io_ptr(pngPtr))->read((char*)data, length);
}