mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Texture refactor
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
This commit is contained in:
@@ -53,7 +53,7 @@ void EditorRunNative::_notification(int p_what) {
|
||||
im->resize(16 * EDSCALE, 16 * EDSCALE);
|
||||
Ref<ImageTexture> small_icon;
|
||||
small_icon.instance();
|
||||
small_icon->create_from_image(im, 0);
|
||||
small_icon->create_from_image(im);
|
||||
MenuButton *mb = memnew(MenuButton);
|
||||
mb->get_popup()->connect("id_pressed", this, "_run_native", varray(i));
|
||||
mb->connect("pressed", this, "_run_native", varray(-1, i));
|
||||
|
||||
Reference in New Issue
Block a user