renderer pipeline
This commit is contained in:
parent
1e8f93e6ea
commit
3a5ecdef29
@ -2,6 +2,8 @@
|
||||
#include "loader/component_loader.hpp"
|
||||
#include "game/game.hpp"
|
||||
|
||||
#include "scheduler.hpp"
|
||||
|
||||
#include <utils/hook.hpp>
|
||||
#include <version.hpp>
|
||||
|
||||
@ -39,7 +41,7 @@ namespace branding
|
||||
public:
|
||||
void post_unpack() override
|
||||
{
|
||||
r_end_frame_hook.create(0x142273560_g, r_end_frame_stub);
|
||||
scheduler::loop(draw_branding, scheduler::renderer);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -85,6 +85,7 @@ namespace scheduler
|
||||
volatile bool kill = false;
|
||||
std::thread thread;
|
||||
task_pipeline pipelines[pipeline::count];
|
||||
|
||||
utils::hook::detour r_end_frame_hook;
|
||||
utils::hook::detour g_run_frame_hook;
|
||||
utils::hook::detour main_frame_hook;
|
||||
@ -162,6 +163,11 @@ namespace scheduler
|
||||
});
|
||||
}
|
||||
|
||||
void post_unpack() override
|
||||
{
|
||||
r_end_frame_hook.create(0x142273560_g, r_end_frame_stub);
|
||||
}
|
||||
|
||||
void pre_destroy() override
|
||||
{
|
||||
kill = true;
|
||||
|
Loading…
Reference in New Issue
Block a user