Stop sudden camera snaps+nicer debug window

This commit is contained in:
bloeys
2024-05-14 06:25:39 +04:00
parent 1d71715cb4
commit dcfe254052
4 changed files with 42 additions and 29 deletions

View File

@ -41,7 +41,6 @@ func Run(g Game, w *Window, rend renderer.Render, ui nmageimgui.ImguiInfo) {
for isRunning {
//PERF: Cache these
width, height = w.SDLWin.GetSize()
fbWidth, fbHeight = w.SDLWin.GLGetDrawableSize()