Compare commits
No commits in common. "8d1701b0bbc0f4a3c438603eb7d26769d0e38928" and "1ba64cb5d87d5e4dabdb42aec9eb0beb7154b0f0" have entirely different histories.
8d1701b0bb
...
1ba64cb5d8
11
deps/glad/CMakeLists.txt
vendored
11
deps/glad/CMakeLists.txt
vendored
@ -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
|
||||
)
|
||||
|
10
deps/imgui/CMakeLists.txt
vendored
10
deps/imgui/CMakeLists.txt
vendored
@ -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
|
||||
)
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user