emoon / minifb

MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No repaint when calling both mfb_update_events and mfb_update in a loop

rxi opened this issue · comments

commented

On windows, when using both mfb_update_events followed by mfb_update in a loop, the window doesn't appear to ever repaint and shows only black. If the call to mfb_update_events is omitted the window repaints like normal. The same code works as expected on linux.

Probably because WM_PAINT is an event. Let me think if I can solve it

I fix it in #33