enable vsync in rgfw shell, to majorly decrease cpu usage
This commit is contained in:
@@ -98,6 +98,7 @@ struct
|
||||
fun main () =
|
||||
let
|
||||
val window = Rgfw.createWindow ("shf", 0, 0, 1920, 1080)
|
||||
val () = Rgfw.enableVsync window
|
||||
val () = Gles3.enableDepthTest ()
|
||||
|
||||
(* load file intol gap buffer and create initial app *)
|
||||
|
||||
Reference in New Issue
Block a user