summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/texture.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-04-06 07:39:49 +0800
committerchai <chaifix@163.com>2019-04-06 07:39:49 +0800
commite47baca4f23db43ec91fbf64d5d06d7c0dbee495 (patch)
tree9e909413bbf61834570e7dbdbe37fc8705f12730 /source/modules/asura-core/graphics/texture.h
parente13616b5c40f912853be99f0603f0e4c97b22062 (diff)
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/texture.h')
-rw-r--r--source/modules/asura-core/graphics/texture.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/modules/asura-core/graphics/texture.h b/source/modules/asura-core/graphics/texture.h
index 571c617..4a414b4 100644
--- a/source/modules/asura-core/graphics/texture.h
+++ b/source/modules/asura-core/graphics/texture.h
@@ -1,8 +1,8 @@
#ifndef __ASURA_TEXTURE_H__
#define __ASURA_TEXTURE_H__
-#include <asura-utils/math/rect.hpp>
#include <asura-utils/math/vector2.hpp>
+#include <asura-utils/math/rect.hpp>
#include "../core_config.h"
@@ -87,7 +87,7 @@ namespace AsuraEngine
///
/// ȾtextureһֵrtϣԭϽǣң졣
///
- virtual void Render(const RenderTarget* rt, const Math::Rectf& quad, const RenderState& state) = 0;
+ virtual void Render(const RenderTarget* rt, const AEMath::Rectf& quad, const RenderState& state) = 0;
protected:
@@ -112,6 +112,9 @@ namespace AsuraEngine
//----------------------------------------------------------------------------//
+ ///
+ /// OpenGL
+ ///
GLuint mTex;
FilterMode mMinFilter;