todo: iocp recv안되는 문제 해결하기

This commit is contained in:
2025-06-04 02:33:00 +09:00
parent 3f052a5f7f
commit c0e0279e5c
15 changed files with 363 additions and 157 deletions

View File

@@ -9,8 +9,9 @@ namespace veng {
class Engine {
public:
Engine(gsl::not_null<Graphics*> vulkan_graphics)
: vulkan_graphics(vulkan_graphics) {}
Engine(gsl::not_null<Graphics*> vulkan_graphics,
utils::ThreadPool* thread_pool)
: vulkan_graphics(vulkan_graphics), thread_pool_(thread_pool) {}
void init();
@@ -39,7 +40,7 @@ class Engine {
private:
Loader asset_loader_;
Physics physics_controller_;
utils::ThreadPool thread_pool_;
utils::ThreadPool* thread_pool_;
glm::ivec2 window_size_ = {0, 0};
std::double_t last_frame_time_ = 0.0;