esnosy / minimal_window

A very small C library for putting pixels on the screen, perfect for software raytracing projects.
GNU General Public License v3.0
114 stars 3 forks source link

Update every frame or provide an update API #5

Closed esnosy closed 9 months ago

esnosy commented 1 year ago

Currently the window only updated when needed by operating system, so it is only good for static results, but not animation, we could either: 1- Update the window every frame (damaging Win32 window or Wayland surface etc.) 2- Provide the update as a function for user for example minimal_window_update)