From bfbcbb6ae864e4577afaaf1fdbcedeb5fe2a1e2d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 29 Mar 2015 23:34:43 +0200 Subject: [PATCH] (D3D) Buildfix --- gfx/d3d/d3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 96e0c4779b..1b69f126db 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -172,8 +172,8 @@ static void d3d_deinitialize(d3d_video_t *d3d) if (!d3d) return; - if (d3d->font_ctx && d3d->font_ctx->deinit) - d3d->font_ctx->deinit(d3d); + if (d3d->font_ctx && d3d->font_ctx->free) + d3d->font_ctx->free(d3d); d3d->font_ctx = NULL; d3d_deinit_chain(d3d); #ifdef HAVE_SHADERS