Mercurial > games > semicongine
changeset 1153:9bdab0729b99
fix: not a function
author | sam@sambook-windows.localdomain |
---|---|
date | Sat, 15 Jun 2024 15:26:49 +0700 |
parents | 2ce0c75f5715 |
children | 1f2eb46a5443 |
files | semicongine/engine.nim |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: