summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/graphics/image.h')
-rw-r--r--source/modules/asura-core/graphics/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/modules/asura-core/graphics/image.h b/source/modules/asura-core/graphics/image.h
index d60bd24..2e6ced2 100644
--- a/source/modules/asura-core/graphics/image.h
+++ b/source/modules/asura-core/graphics/image.h
@@ -44,8 +44,8 @@ namespace AsuraEngine
/// ͼύGPUϢ¹imageʹglTexImage2D
/// ύimageݡ
///
- bool Renew(AEIO::DecodedData* decodeData) override;
- bool Renew(AEIO::DecodedData* decodeData, const AEMath::Vector2i& pos);
+ bool Update(AEIO::DecodedData* decodeData) override;
+ bool Update(AEIO::DecodedData* decodeData, const AEMath::Vector2i& pos);
uint GetWidth();
uint GetHeight();
@@ -58,7 +58,7 @@ namespace AsuraEngine
//----------------------------------------------------------------------------//
LUAX_DECL_METHOD(_New);
- LUAX_DECL_METHOD(_Renew);
+ LUAX_DECL_METHOD(_Update);
LUAX_DECL_METHOD(_GetWidth);
LUAX_DECL_METHOD(_GetHeight);
LUAX_DECL_METHOD(_GetSize);