Merge commit '7f481ef79f8362d68496fbed6083bdd38b743f7c'

This commit is contained in:
2025-01-05 22:40:22 -06:00
9 changed files with 25 additions and 6 deletions

View File

@ -50,6 +50,7 @@ ox::Result<ContextUPtr> init(
glfwInit();
OX_RETURN_ERROR(initGfx(*ctx));
glfwSetWindowSizeCallback(ctx->window, draw);
ctx->mandatoryRefreshPeriodEnd = ticksMs(*ctx) + config::MandatoryRefreshPeriod;
return ox::UPtr<Context, ContextDeleter>(ctx.release());
}