From 44d4879975b087e9accb82c6531c3c573a0ec107 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 5 Sep 2023 12:23:52 +0300 Subject: [PATCH] Export Image::Data in the public API It's necessary because Image's destructor is generated by the compiler, and also in case a user wants to define their own image loader. --- source/graphics/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/graphics/image.h b/source/graphics/image.h index 15685c6..6f90250 100644 --- a/source/graphics/image.h +++ b/source/graphics/image.h @@ -15,7 +15,7 @@ class ImageLoader; class MSPGUI_API Image { public: - struct Data + struct MSPGUI_API Data { PixelFormat fmt = RGB; unsigned width = 0; -- 2.45.2