mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
@@ -141,8 +141,7 @@
|
||||
GD.PushError("Couldn't load the image.");
|
||||
}
|
||||
|
||||
var texture = new ImageTexture();
|
||||
texture.CreateFromImage(image);
|
||||
var texture = ImageTexture.CreateFromImage(image);
|
||||
|
||||
// Display the image in a TextureRect node.
|
||||
var textureRect = new TextureRect();
|
||||
|
||||
Reference in New Issue
Block a user