summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/graphics/texture.cpp')
-rw-r--r--source/modules/asura-core/graphics/texture.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/modules/asura-core/graphics/texture.cpp b/source/modules/asura-core/graphics/texture.cpp
index 0897702..c260ce9 100644
--- a/source/modules/asura-core/graphics/texture.cpp
+++ b/source/modules/asura-core/graphics/texture.cpp
@@ -6,20 +6,20 @@ namespace AsuraEngine
{
Texture::Texture()
- : mTexHandle(0)
+ : mTex(0)
{
// GL texture
- glGenTextures(1, &mTexHandle);
+ glGenTextures(1, &mTex);
}
Texture::~Texture()
{
- glDeleteTextures(1, &mTexHandle);
+ glDeleteTextures(1, &mTex);
}
GLuint Texture::GetGLTextureHandle() const
{
- return mTexHandle;
+ return mTex;
}
}