Commit Graph

5 Commits

Author SHA1 Message Date
MaikelChan 3ab0c45bdb
Fixed window not properly disposing raylib and OpenGL when closing. (#59)
Closing the window with the X button will not close it immediately during the rendering of a frame, causing it to actually crash, but will set the engine in a pending state until it finishes the current frame.
2022-03-24 12:48:22 -06:00
MaikelChan 2da6a2a78f
Improved window dragging.
Fixed issues when dragging the window, like the window stopping its movement when moving the cursor too fast, or flickering all over the place. Also, the window position will be clamped to the area of the monitor/s to prevent it from going outside of them.

Also, setting VSync instead of target FPS prevents possible stuttering and probably increased CPU usage.
2022-03-24 07:07:49 +01:00
KiritoDev 8d53e09269 Thread pool prototype 2022-03-21 23:47:27 -04:00
KiritoDev d116148ccb Disabled multithreading 2022-03-21 22:22:48 -04:00
M4xw f52a2a6406 git subrepo clone (merge) https://github.com/HarbourMasters/otrgui.git OTRGui
subrepo:
  subdir:   "OTRGui"
  merged:   "a6066a251"
upstream:
  origin:   "https://github.com/HarbourMasters/otrgui.git"
  branch:   "master"
  commit:   "a6066a251"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2022-03-22 02:53:51 +01:00