diff options
author | chai <chaifix@163.com> | 2018-08-27 07:55:00 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-27 07:55:00 +0800 |
commit | 1480c9445100075c9e1a894eb07c0ef727b509a1 (patch) | |
tree | 1e694f40b9720a4ecaf6c67310629906f08d5a41 /src/libjin/Graphics/Texture.h | |
parent | 4013357b9dd88c614906263cd5b0657b535bd9cb (diff) |
*update
Diffstat (limited to 'src/libjin/Graphics/Texture.h')
-rw-r--r-- | src/libjin/Graphics/Texture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libjin/Graphics/Texture.h b/src/libjin/Graphics/Texture.h index 47f8d53..1fdb50d 100644 --- a/src/libjin/Graphics/Texture.h +++ b/src/libjin/Graphics/Texture.h @@ -19,6 +19,8 @@ namespace graphics static Texture* createTexture(const char* file); static Texture* createTexture(const void* mem, size_t size); + static void destroyTexture(Texture* tex); + ~Texture(); color getPixel(int x, int y); |