Init parallelrdp on EmuThread thread (so that the console doesnt get spammed with error logs)
This commit is contained in:
8
external/parallel-rdp/ParallelRDPWrapper.cpp
vendored
8
external/parallel-rdp/ParallelRDPWrapper.cpp
vendored
@@ -33,7 +33,9 @@ void ParallelRDP::LoadWSIPlatform(Vulkan::InstanceFactory* instanceFactory, std:
|
||||
windowInfo = std::move(newWindowInfo);
|
||||
}
|
||||
|
||||
void ParallelRDP::Init(const u8* rdram) {
|
||||
void ParallelRDP::Init(Vulkan::InstanceFactory* factory, std::unique_ptr<Vulkan::WSIPlatform>&& wsiPlatform, std::unique_ptr<WindowInfo>&& newWindowInfo, const u8* rdram) {
|
||||
LoadWSIPlatform(factory, std::move(wsiPlatform), std::move(newWindowInfo));
|
||||
|
||||
ResourceLayout vertLayout;
|
||||
ResourceLayout fragLayout;
|
||||
|
||||
@@ -78,10 +80,6 @@ void ParallelRDP::Init(const u8* rdram) {
|
||||
}
|
||||
}
|
||||
|
||||
ParallelRDP::ParallelRDP(Vulkan::InstanceFactory* factory, std::unique_ptr<Vulkan::WSIPlatform>&& wsi_platform, std::unique_ptr<WindowInfo>&& newWindowInfo) {
|
||||
LoadWSIPlatform(factory, std::move(wsi_platform), std::move(newWindowInfo));
|
||||
}
|
||||
|
||||
void ParallelRDP::DrawFullscreenTexturedQuad(Util::IntrusivePtr<Image> image, Util::IntrusivePtr<CommandBuffer> cmd) {
|
||||
cmd->set_texture(0, 0, image->get_view(), Vulkan::StockSampler::LinearClamp);
|
||||
cmd->set_program(fullscreen_quad_program);
|
||||
|
||||
Reference in New Issue
Block a user