todo: iocp recv안되는 문제 해결하기
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user