Last active
March 12, 2017 06:51
-
-
Save FlyingJester/58b4499e773d179a924f737083ce6c7f to your computer and use it in GitHub Desktop.
Do not lose this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.load(Config, !IO), | |
( Config ^ config.gl_version = window.gl_version(2, _) -> | |
thread.mvar.init(TimeMVar, !IO), | |
thread.mvar.init(SceneMVar, !IO), | |
thread.mvar.put(SceneMVar, gl2_scene, !IO), | |
thread.mvar.put(TimeMVar, 0, !IO), | |
Renderer = render(gl2_render.gl2_render, SceneMVar), | |
Engine = engine(gl2_render.gl2_render, TimeMVar, SceneMVar), | |
window.run_threaded( | |
; | |
true % Pass. | |
). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment