珊瑚

Results 80 comments of 珊瑚

I merged your PR into the "power_saving" branch. It works quite nicely! However I did have an issue: when running `boguex 34 35 36 37` then examples 34 35 36...

> Although there is probably a more fundamental bug here the culprit is probably simply `poll_noevent_fps` which should be re-inititalized at each `run`. To fix this, instead of `at_cleanup` one...

see https://github.com/sanette/bogue/commit/896b3fa40eec102f07d0dc3dec110fa23ef81563 this seems to work for me

> I'll do some experiments and propose something in a separate PR, and then remove the vsync from this one. I moved this to the 'vsync' branch

Hi, sorry for this. Could you try with one of the shipped `boguex` examples, with debugging and logging turned on? for instance ``` BOGUE_DEBUG=true BOGUE_LOG_TO_FILE=true boguex 1h ``` and attach...

did you trigger the maximize bug with this example too?

that's weird, I see no trace of the bug (and of the maximize event) in the log

let's check if the problem lies in SDL/tsdl. Could you try the following in an ocaml toplevel? ```ocaml #require "tsdl";; open Tsdl;; Sdl.create_window ~w:600 ~h:400 "test" Sdl.Window.(windowed + resizable +...

oh yeah I forgot that mac os treats SDL windows in a weird way.

Could you try this sample code from the Tsdl doc? https://erratique.ch/software/tsdl/doc/Tsdl/index.html#opengl_2 ```ocaml open Tsdl let main () = match Sdl.init Sdl.Init.(video + events) with | Error (`Msg e) -> Sdl.log...