summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/Texture.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-12 00:39:26 +0800
committerchai <chaifix@163.com>2019-03-12 00:39:26 +0800
commit70b82d1981c0de3c7b77670ff8abcfeb26815142 (patch)
treef69c05bcd204cc3f9bf745be37a2ba5911e52436 /Source/Asura.Engine/Graphics/Texture.h
parentc19a282e10f51ddd50d198b903f8fbd5a2238b62 (diff)
*misc
Diffstat (limited to 'Source/Asura.Engine/Graphics/Texture.h')
-rw-r--r--Source/Asura.Engine/Graphics/Texture.h5
1 files changed, 3 insertions, 2 deletions
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 meshrender 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