You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add static methods for creating Image and ImageTexture
This commit is contained in:
@@ -503,7 +503,5 @@ void EditorExportPlatformUWP::resolve_platform_feature_priorities(const Ref<Edit
|
||||
}
|
||||
|
||||
EditorExportPlatformUWP::EditorExportPlatformUWP() {
|
||||
Ref<Image> img = memnew(Image(_uwp_logo));
|
||||
logo.instantiate();
|
||||
logo->create_from_image(img);
|
||||
logo = ImageTexture::create_from_image(memnew(Image(_uwp_logo)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user