From c9b88fa1abedd2dea67431edfb624e902c6c5e91 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 3 Jul 2017 08:57:26 +0200 Subject: [PATCH] Buildfix --- gfx/drivers_context/wgl_ctx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wgl_ctx.cpp b/gfx/drivers_context/wgl_ctx.cpp index 3db281132f..9e6ebef484 100644 --- a/gfx/drivers_context/wgl_ctx.cpp +++ b/gfx/drivers_context/wgl_ctx.cpp @@ -540,7 +540,7 @@ static void gfx_ctx_wgl_destroy(void *data) g_restore_desktop = false; } - dylib_free(dll_handle); + dylib_close(dll_handle); win32_core_hw_context_enable = false; g_inited = false;