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 !
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.