Squashed 'deps/nostalgia/' changes from 6837a055..98ddb08a
98ddb08a [nostalgia] Cleanup 8d1701b0 [turbine/glfw] Ensure window opens with a standard mandatory refresh period 1048e522 [imgui] Make ImGui not an object lib ee59da4a [glad] Make glad not an object lib 1ba64cb5 Merge commit '07610a5af2aaaac9cfcdcf8359b33f7df40d46cd' 462bebf6 [nostalgia/core] Cleanup unused function declaration e3f84c4e [studio] Make first tab not draw before selected tab when window opens git-subtree-dir: deps/nostalgia git-subtree-split: 98ddb08abd68d2d31864fb44d240b2d79a0022c1
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user