fix compile error when LIME_FREETYPE is not defined

This commit is contained in:
James Gray
2015-03-21 01:26:21 -05:00
parent 7ec67bf05f
commit 38eaa120d1

View File

@@ -116,9 +116,10 @@ namespace lime {
void lime_font_destroy (value handle) {
#ifdef LIME_FREETYPE
Font *font = (Font*)(intptr_t)val_float (handle);
delete font;
font = 0;
#endif
}