aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_DestroyResource.c
diff options
context:
space:
mode:
Diffstat (limited to 'sources/TZR_DestroyResource.c')
-rw-r--r--sources/TZR_DestroyResource.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sources/TZR_DestroyResource.c b/sources/TZR_DestroyResource.c
index de235e4..7536017 100644
--- a/sources/TZR_DestroyResource.c
+++ b/sources/TZR_DestroyResource.c
@@ -24,12 +24,6 @@ TZR_DestroyResource(TZR_Resource *res, int free_path)
Mix_FreeChunk(res->sound.ptr);
#endif
break;
- case TZR_RES_FONT:
-#ifdef TZR_TTF
- if (res->ttf.ptr != NULL)
- TTF_CloseFont(res->ttf.ptr);
-#endif
- break;
default:
fprintf(stderr, "unknown resource type %u\n", res->type);
break;