diff options
author | chai <chaifix@163.com> | 2019-01-03 21:02:51 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-03 21:02:51 +0800 |
commit | c42eb2529eead4b17c0c7f9da7ac9c41563a13fa (patch) | |
tree | 9a6bd3d32309ed6ecbbad3c9d50a299f1f472c34 | |
parent | 3222d2665183cecc1b1d47e7b7472da698406ddb (diff) |
*misc
-rw-r--r-- | src/libjin/graphics/je_texture.cpp | 14 | ||||
-rw-r--r-- | src/libjin/graphics/je_texture.h | 17 |
2 files changed, 0 insertions, 31 deletions
diff --git a/src/libjin/graphics/je_texture.cpp b/src/libjin/graphics/je_texture.cpp index 53d9bd3..c83e776 100644 --- a/src/libjin/graphics/je_texture.cpp +++ b/src/libjin/graphics/je_texture.cpp @@ -14,21 +14,7 @@ namespace JinEngine { namespace Graphics { -/* - Texture* Texture::createTexture(const char* path) - { - Bitmap* bitmap = Bitmap::createBitmap(path); - Texture* texture = createTexture(bitmap); - delete bitmap; - return texture; - } - Texture* Texture::createTexture(Bitmap* bitmap) - { - Texture* tex = new Texture(bitmap); - return tex; - } -*/ Texture::Texture() : Graphic() { diff --git a/src/libjin/graphics/je_texture.h b/src/libjin/graphics/je_texture.h index 6e14111..a99033f 100644 --- a/src/libjin/graphics/je_texture.h +++ b/src/libjin/graphics/je_texture.h @@ -20,23 +20,6 @@ namespace JinEngine class Texture : public Graphic { public: -/* - /// - /// - /// - static Texture* createTexture(const char* path); - - /// - /// - /// - static Texture* createTexture(Bitmap* bitmap); - - /// - /// - /// - static Texture* createTexture(); -*/ - /// /// /// |