fix compile error when LIME_FREETYPE is not defined
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user