Improve memory safety.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m44s

Also fixed a case where we didn't reset the GL state correctly 🤷
This commit is contained in:
2024-10-06 23:03:50 -04:00
parent 5f367efc28
commit 308b0dc854
3 changed files with 16 additions and 8 deletions

View File

@@ -259,6 +259,7 @@ int main(int argc, char** argv) {
if (j2d_render_target->GetDimensions().x <= 1)
increasing = true;
}
std::chrono::high_resolution_clock::time_point start = std::chrono::high_resolution_clock::now();
window->pollEvents();
window->refresh();