Brett 2024-01-09 13:30:19 -05:00
parent 18cbbca2a0
commit c078081022
4 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit 9147a85dc32f06be2a4cfe4e422fdbc52679adc5 Subproject commit 8411810ab5df8f330f9d7cf96a96179375dc4704

@ -1 +1 @@
Subproject commit a1b06823fe2d964a62fda99385499b218cf5cea5 Subproject commit 240ab5890b2e8da294937a1710b021ac3f271472

@ -1 +1 @@
Subproject commit 6675317107257c2cc16c947b359d557821d85bf2 Subproject commit cfab14287405a0d34f6a0fec1336f46415728fcf

View File

@ -22,7 +22,7 @@ void error_callback(int error, const char* description)
namespace blt::gfx 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 struct
{ {
/* GLFW Window Object */ /* GLFW Window Object */
@ -34,6 +34,7 @@ namespace blt::gfx
/* current width and height of the window */ /* current width and height of the window */
std::int32_t width = 0; std::int32_t width = 0;
std::int32_t height = 0; std::int32_t height = 0;
/* Frame time information (last frame) */
std::int64_t lastTime = blt::system::nanoTime(); std::int64_t lastTime = blt::system::nanoTime();
std::int64_t deltaTime = 0; std::int64_t deltaTime = 0;
double nanoDelta = 0; double nanoDelta = 0;