summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/graphics/texture.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-19 23:06:27 +0800
committerchai <chaifix@163.com>2019-03-19 23:06:27 +0800
commit1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 (patch)
treef8d1bff50da13e126d08c7345653e002e293202d /Source/Asura.Engine/graphics/texture.cpp
parent5e2a973516e0729b225da9de0b03015dc5854ac4 (diff)
*rename
Diffstat (limited to 'Source/Asura.Engine/graphics/texture.cpp')
-rw-r--r--Source/Asura.Engine/graphics/texture.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/Source/Asura.Engine/graphics/texture.cpp b/Source/Asura.Engine/graphics/texture.cpp
deleted file mode 100644
index 6cb6497..0000000
--- a/Source/Asura.Engine/graphics/texture.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "Texture.h"
-
-namespace AsuraEngine
-{
- namespace Graphics
- {
-
- Texture::Texture()
- : mTextureHandle(0)
- {
- // GL texture
- glGenTextures(1, &mTextureHandle);
- }
-
- Texture::~Texture()
- {
- glDeleteTextures(1, &mTextureHandle);
- }
-
- GLuint Texture::GetGLTextureHandle() const
- {
- return mTextureHandle;
- }
-
- }
-} \ No newline at end of file