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:
@@ -89,7 +89,7 @@ struct
|
||||
|
||||
val () = registerCallbacks window
|
||||
in
|
||||
GlDraw.loop (app, window)
|
||||
GlfwLoop.loop (app, window)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user