diff --git a/core/sys/windows/gdi32.odin b/core/sys/windows/gdi32.odin index d5b32e2a8..4403a5dc3 100644 --- a/core/sys/windows/gdi32.odin +++ b/core/sys/windows/gdi32.odin @@ -76,6 +76,7 @@ foreign gdi32 { pszFaceName: LPCWSTR, ) -> HFONT --- TextOutW :: proc(hdc: HDC, x, y: c_int, lpString: LPCWSTR, c: c_int) -> BOOL --- + GetTextExtentPoint32W :: proc(hdc: HDC, lpString: LPCWSTR, c: c_int, psizl: LPSIZE) -> BOOL --- } RGB :: #force_inline proc "contextless" (r, g, b: u8) -> COLORREF {