Re: Questions about an efficient SHM game loop

2024-05-08 Thread Pekka Paalanen
On Wed, 8 May 2024 13:49:51 +0200 Philip Bizimis wrote: > I am currently working on a small Wayland Snake game to > learn about Wayland and game development. I am using SHM > double buffers for rendering. > > My main game loop has two parts that run at different speeds so > that I can have a con

Questions about an efficient SHM game loop

2024-05-08 Thread Philip Bizimis
I am currently working on a small Wayland Snake game to learn about Wayland and game development. I am using SHM double buffers for rendering. My main game loop has two parts that run at different speeds so that I can have a constant game speed independent of variable FPS (based on https://dewitte