From 70b82d1981c0de3c7b77670ff8abcfeb26815142 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 12 Mar 2019 00:39:26 +0800 Subject: *misc --- Source/Asura.Engine/Graphics/Texture.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Asura.Engine/Graphics/Texture.h') diff --git a/Source/Asura.Engine/Graphics/Texture.h b/Source/Asura.Engine/Graphics/Texture.h index c1411fc..81aa469 100644 --- a/Source/Asura.Engine/Graphics/Texture.h +++ b/Source/Asura.Engine/Graphics/Texture.h @@ -1,6 +1,7 @@ #ifndef __ASURA_ENGINE_TEXTURE_H__ #define __ASURA_ENGINE_TEXTURE_H__ +#include "Config.h" #include "Math/Rect.hpp" #include "Math/Vector2.hpp" #include "Scripting/Luax.hpp" @@ -18,7 +19,7 @@ namespace AsuraEngine /// 2D纹理抽象类,在2d mesh和render target中被使用。Texture的渲染原点在左上角,游戏里面的上层会以笛卡尔坐标系为标准。 /// 在Editor里面界面和组件也是以左上角为原点,这样是为了方便。 /// - class Texture : virtual public Object + ASURA_ABSTRACT class Texture { public: @@ -48,7 +49,7 @@ namespace AsuraEngine /// void SetRepeated(); - protected: + protected: /// /// OpenGL texture handle。 -- cgit v1.1-26-g67d0