From f50a0cecd9b25af72351779c189bdea07549b1e8 Mon Sep 17 00:00:00 2001 From: Indah Sylvia Date: Fri, 29 Sep 2017 04:30:06 +0700 Subject: [PATCH] Fixed typo: 'texure' to 'texture' --- doc/base/classes.xml | 2 +- editor/io_plugins/editor_font_import_plugin.cpp | 2 +- main/performance.cpp | 2 +- scene/3d/immediate_geometry.h | 2 +- servers/visual_server.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 2241415fc8d..efd7247a161 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -16218,7 +16218,7 @@ - Load an [ImageTexure]. + Load an [ImageTexture]. diff --git a/editor/io_plugins/editor_font_import_plugin.cpp b/editor/io_plugins/editor_font_import_plugin.cpp index 17550de4981..93a2898dfc3 100644 --- a/editor/io_plugins/editor_font_import_plugin.cpp +++ b/editor/io_plugins/editor_font_import_plugin.cpp @@ -1532,7 +1532,7 @@ Ref EditorFontImportPlugin::generate_font(const Refset_ascent(ascent + top_space); font->set_distance_field_hint(font_mode == _EditorFontImportOptions::FONT_DISTANCE_FIELD); - //register texures + //register textures { Ref t = memnew(ImageTexture); int flags; diff --git a/main/performance.cpp b/main/performance.cpp index 34f4b1a89b0..9279b01299a 100644 --- a/main/performance.cpp +++ b/main/performance.cpp @@ -94,7 +94,7 @@ String Performance::get_monitor_name(Monitor p_monitor) const { "raster/surface_changes", "raster/draw_calls", "video/video_mem", - "video/texure_mem", + "video/texture_mem", "video/vertex_mem", "video/video_mem_max", "physics_2d/active_objects", diff --git a/scene/3d/immediate_geometry.h b/scene/3d/immediate_geometry.h index 206e89e337b..b0efaef3d08 100644 --- a/scene/3d/immediate_geometry.h +++ b/scene/3d/immediate_geometry.h @@ -38,7 +38,7 @@ class ImmediateGeometry : public GeometryInstance { OBJ_TYPE(ImmediateGeometry, GeometryInstance); RID im; - //a list of texures drawn need to be kept, to avoid references + //a list of textures drawn need to be kept, to avoid references // in VisualServer from becoming invalid if the texture is no longer used List > cached_textures; bool empty; diff --git a/servers/visual_server.h b/servers/visual_server.h index 7555f8041ed..3d9e07daf88 100644 --- a/servers/visual_server.h +++ b/servers/visual_server.h @@ -97,7 +97,7 @@ public: enum TextureFlags { TEXTURE_FLAG_MIPMAPS = 1, /// Enable automatic mipmap generation - when available TEXTURE_FLAG_REPEAT = 2, /// Repeat texture (Tiling), otherwise Clamping - TEXTURE_FLAG_FILTER = 4, /// Create texure with linear (or available) filter + TEXTURE_FLAG_FILTER = 4, /// Create texture with linear (or available) filter TEXTURE_FLAG_ANISOTROPIC_FILTER = 8, TEXTURE_FLAG_CONVERT_TO_LINEAR = 16, TEXTURE_FLAG_MIRRORED_REPEAT = 32, /// Repeat texture, with alternate sections mirrored