mark 'Rgfw.swapBuffers' as reentrant, because calling this function will likely trigger the registered key callbacks

This commit is contained in:
2026-01-23 11:16:14 +00:00
parent a89bb8fa5f
commit 609c30bef5
3 changed files with 12 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ struct
val shouldCloseWindow =
_import "shouldCloseWindow" public : window -> bool;
val swapBuffers =
_import "swapBuffers" public : window -> unit;
_import "swapBuffers" public reentrant : window -> unit;
val writeClipboard =
_import "writeClipboard" public : string * int -> unit;
end