diff options
Diffstat (limited to 'src')
-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(); -*/ - /// /// /// |