world previews demo

This commit is contained in:
MihailRis 2024-04-23 01:09:30 +03:00
parent 5afa5304ff
commit 6e2bc9ca95
24 changed files with 153 additions and 59 deletions

View file

@ -17,7 +17,7 @@ class Shader;
class ContentGfxCache;
class BlocksPreview {
static ImageData* draw(
static std::unique_ptr<ImageData> draw(
const ContentGfxCache* cache,
Shader* shader,
Framebuffer* framebuffer,