konsumer / deno-minifb

Deno wrapper around minifb, for making a framebuffer you can draw pixels to
11 stars 1 forks source link

Not working on mac #4

Closed konsumer closed 3 years ago

konsumer commented 3 years ago

The same code (canvas and canvas_cross) are not working on mac, I just get a blank window.

Screen Shot 2021-09-15 at 1 10 05 AM

It seems fine on linux.

konsumer commented 3 years ago

I get similar issues on linux, now, but it seems to improve it to updateWithBuffer in the loop. I think there might be a race-condition about updateWithBuffer then update, later. Going to check in minor tweak that makes it work better on linux, can check mac, later.

konsumer commented 3 years ago

Verified working on mac.