Compare commits

..

No commits in common. "8d1701b0bbc0f4a3c438603eb7d26769d0e38928" and "1ba64cb5d87d5e4dabdb42aec9eb0beb7154b0f0" have entirely different histories.

3 changed files with 4 additions and 22 deletions

View File

@ -1,11 +1,2 @@
add_library(glad src/glad.c)
add_library(glad OBJECT src/glad.c)
target_include_directories(glad PUBLIC include)
install(
TARGETS
glad
DESTINATION
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)

View File

@ -6,7 +6,7 @@ endif()
# DrinkingTea: end
add_library(
imgui
imgui OBJECT
imgui.cpp
imgui_demo.cpp
imgui_draw.cpp
@ -20,11 +20,3 @@ target_include_directories(
imgui SYSTEM PUBLIC
.
)
install(
TARGETS
imgui
DESTINATION
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)

View File

@ -50,7 +50,6 @@ 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());
}