From c0780810222683228a90f7bad37e6bcd94957d32 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 9 Jan 2024 13:30:19 -0500 Subject: [PATCH] doc --- libraries/BLT | 2 +- libraries/imgui | 2 +- libraries/openal-soft | 2 +- src/blt/gfx/window.cpp | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libraries/BLT b/libraries/BLT index 9147a85..8411810 160000 --- a/libraries/BLT +++ b/libraries/BLT @@ -1 +1 @@ -Subproject commit 9147a85dc32f06be2a4cfe4e422fdbc52679adc5 +Subproject commit 8411810ab5df8f330f9d7cf96a96179375dc4704 diff --git a/libraries/imgui b/libraries/imgui index a1b0682..240ab58 160000 --- a/libraries/imgui +++ b/libraries/imgui @@ -1 +1 @@ -Subproject commit a1b06823fe2d964a62fda99385499b218cf5cea5 +Subproject commit 240ab5890b2e8da294937a1710b021ac3f271472 diff --git a/libraries/openal-soft b/libraries/openal-soft index 6675317..cfab142 160000 --- a/libraries/openal-soft +++ b/libraries/openal-soft @@ -1 +1 @@ -Subproject commit 6675317107257c2cc16c947b359d557821d85bf2 +Subproject commit cfab14287405a0d34f6a0fec1336f46415728fcf diff --git a/src/blt/gfx/window.cpp b/src/blt/gfx/window.cpp index a303cbc..90f3248 100644 --- a/src/blt/gfx/window.cpp +++ b/src/blt/gfx/window.cpp @@ -22,7 +22,7 @@ void error_callback(int error, const char* description) namespace blt::gfx { - // because we aren't meant to have multiple GLFW windows (especially with GLAD) we will keep the window as global state.1 + struct { /* GLFW Window Object */ @@ -34,6 +34,7 @@ namespace blt::gfx /* current width and height of the window */ std::int32_t width = 0; std::int32_t height = 0; + /* Frame time information (last frame) */ std::int64_t lastTime = blt::system::nanoTime(); std::int64_t deltaTime = 0; double nanoDelta = 0;