From d797762702ee8b0b11f997191b70f98163bb07bb Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 1 Jul 2024 01:24:43 -0400 Subject: [PATCH] fix for harfbuzz, remove raylib from update_deps.ps1 --- code/font/VEFontCache/shaper.odin | 2 +- code/sectr/engine/client_api.odin | 2 +- scripts/update_deps.ps1 | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/code/font/VEFontCache/shaper.odin b/code/font/VEFontCache/shaper.odin index 18a5014..67a3d23 100644 --- a/code/font/VEFontCache/shaper.odin +++ b/code/font/VEFontCache/shaper.odin @@ -35,7 +35,7 @@ shaper_init :: proc( ctx : ^ShaperContext ) shaper_shutdown :: proc( ctx : ^ShaperContext ) { if ctx.hb_buffer != nil { - harfbuzz.buffer_destory( ctx.hb_buffer ) + harfbuzz.buffer_destroy( ctx.hb_buffer ) } // delete(& ctx.infos) diff --git a/code/sectr/engine/client_api.odin b/code/sectr/engine/client_api.odin index 9a952b9..2cb1236 100644 --- a/code/sectr/engine/client_api.odin +++ b/code/sectr/engine/client_api.odin @@ -373,7 +373,7 @@ sectr_shutdown :: proc() file_close( Memory_App.replay.active_file ) } - // font_provider_shutdown() + font_provider_shutdown( & state.font_provider_ctx ) sokol_gp.shutdown() sokol_gfx.shutdown() diff --git a/scripts/update_deps.ps1 b/scripts/update_deps.ps1 index 3052f2b..445c5d5 100644 --- a/scripts/update_deps.ps1 +++ b/scripts/update_deps.ps1 @@ -66,11 +66,5 @@ if ( $binaries_dirty -or $true ) $destination = join-path $path_build $dll.Name Copy-Item $dll.FullName -Destination $destination -Force } - - $third_party_dlls = Get-ChildItem -Path $path_raylib_dlls -Filter '*.dll' - foreach ($dll in $third_party_dlls) { - $destination = join-path $path_build $dll.Name - Copy-Item $dll.FullName -Destination $destination -Force - } } pop-location