frazzle
Deno BYOW help with macOS [Solved] and X11
This is the from the
Deno.UnsafeWindowSurface
doc:
For macOS, I'm passing in handle.ns_view
for the window handle and a null pointer for the display handle but I think the draw function callback is being called before the setup function and nothing gets drawn to the window. When I pass in handle.ns_window
for the window handle and handle.ns_view
for the display handle it does work except it doesn't redraw properly when the window is resized.
@divy what am I doing wrong?12 replies