From 98a329670227c726a5d7a196e5cba8dbdd54301b Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 17 May 2017 07:36:47 -0300 Subject: Removal of Image from Variant, converted to a Resource. --- platform/windows/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/windows/export') diff --git a/platform/windows/export/export.cpp b/platform/windows/export/export.cpp index 2d11bfe4d8..3802e7e784 100644 --- a/platform/windows/export/export.cpp +++ b/platform/windows/export/export.cpp @@ -35,7 +35,7 @@ void register_windows_exporter() { Ref platform; platform.instance(); - Image img(_windows_logo); + Ref img = memnew(Image(_windows_logo)); Ref logo; logo.instance(); logo->create_from_image(img); -- cgit v1.2.3