Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Since Sdlgl.swap_buffers may take time to complete, it should be in a blocking section, otherwise rendering becomes really slow in multi-threaded programs using ocamlsdl.
Put Sdlgl.swap_buffers in a blocking section
fixed as suggested. Thanks !