Mercurial > projects > mde
diff mde/font/FontTexture.d @ 85:56c0ddd90193
Intermediate commit (not stable). Changes to init system.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 11 Sep 2008 11:33:51 +0100 |
parents | 2813ac68576f |
children | 79d816b3e2d2 |
line wrap: on
line diff
--- a/mde/font/FontTexture.d Sun Aug 31 15:59:17 2008 +0100 +++ b/mde/font/FontTexture.d Thu Sep 11 11:33:51 2008 +0100 @@ -52,11 +52,7 @@ class FontTexture { this () {} - ~this () { - foreach (t; tex) { - glDeleteTextures (1, &(t.texID)); - } - } + ~this () {} // Call if font(s) have been changed and glyphs must be recached. void clear () {