separate OpenGL drawing from GLFW loop in imperative shell, so that other windowing libraries can call the same OpenGL functions.

This commit is contained in:
2026-01-22 00:04:22 +00:00
parent a8104131ca
commit 9ef8231b8b
4 changed files with 100 additions and 109 deletions

View File

@@ -89,7 +89,7 @@ struct
val () = registerCallbacks window
in
GlDraw.loop (app, window)
GlfwLoop.loop (app, window)
end
end