# HG changeset patch # User sam@sambook-windows.localdomain # Date 1718440009 -25200 # Node ID 9bdab0729b99dfdb29928daac34a681d4d009a3b # Parent 2ce0c75f5715c3ee3f418ae981f1f4bde47d0093 fix: not a function diff -r 2ce0c75f5715 -r 9bdab0729b99 semicongine/engine.nim --- a/semicongine/engine.nim Sat Jun 15 15:20:02 2024 +0700 +++ b/semicongine/engine.nim Sat Jun 15 15:26:49 2024 +0700 @@ -182,8 +182,8 @@ func GpuDevice*(engine: Engine): Device = engine.device func GetWindow*(engine: Engine): auto = engine.window func GetAspectRatio*(engine: Engine): float32 = engine.GetWindow().Size[0] / engine.GetWindow().Size[1] -func ShowSystemCursor*(engine: Engine) = engine.window.ShowSystemCursor() -func HideSystemCursor*(engine: Engine) = engine.window.HideSystemCursor() +proc ShowSystemCursor*(engine: Engine) = engine.window.ShowSystemCursor() +proc HideSystemCursor*(engine: Engine) = engine.window.HideSystemCursor() func Fullscreen*(engine: Engine): bool = engine.fullscreen proc `Fullscreen=`*(engine: var Engine, enable: bool) = if enable != engine.fullscreen: