diff options
| author | 3gg <3gg@shellblade.net> | 2024-11-17 14:13:53 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2024-11-17 14:13:53 -0800 |
| commit | 4bbd2d43b5c92197ea23bc3db42a9d2991390eb1 (patch) | |
| tree | fabee3403ffb98b3f4364e7084f0543f91550c16 /Demos | |
| parent | 838f8e4d3398b7c3742b18f89875828986977e1f (diff) | |
Remove vsync to fix stuttering.
Diffstat (limited to 'Demos')
| -rw-r--r-- | Demos/Pong/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Pong/Main.hs b/Demos/Pong/Main.hs index 21fcb0c..d51a324 100644 --- a/Demos/Pong/Main.hs +++ b/Demos/Pong/Main.hs | |||
| @@ -26,7 +26,7 @@ data GameState = GameState | |||
| 26 | , world :: [GameObject] | 26 | , world :: [GameObject] |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | app = App step render resize | 29 | app = App defaultAppOptions step render resize |
| 30 | 30 | ||
| 31 | main = | 31 | main = |
| 32 | withWindow (1920, 1200) (Just "Pong") initGame endGame $ | 32 | withWindow (1920, 1200) (Just "Pong") initGame endGame $ |
