Skip to content
Snippets Groups Projects
Commit 8ece0595 authored by demiralp's avatar demiralp
Browse files

Corrected non-HMD setup.

parent 01c5b66f
Branches
No related tags found
1 merge request!158#473 resize companion window
...@@ -36,7 +36,7 @@ namespace phx { ...@@ -36,7 +36,7 @@ namespace phx {
// A null target will blit onto the default framebuffer. // A null target will blit onto the default framebuffer.
class PHOENIX_EXPORT BlitPass : public RenderPass { class PHOENIX_EXPORT BlitPass : public RenderPass {
public: public:
explicit BlitPass(gl::framebuffer* source, gl::framebuffer* target = nullptr); explicit BlitPass(gl::framebuffer* source, gl::framebuffer* target);
explicit BlitPass(gl::framebuffer* source, Window* target); explicit BlitPass(gl::framebuffer* source, Window* target);
BlitPass(const BlitPass&) = default; BlitPass(const BlitPass&) = default;
BlitPass(BlitPass&&) = default; BlitPass(BlitPass&&) = default;
......
...@@ -129,7 +129,8 @@ void Setup::SetupDefaultFrameGraphWindow(RenderingSystem* rendering_system, ...@@ -129,7 +129,8 @@ void Setup::SetupDefaultFrameGraphWindow(RenderingSystem* rendering_system,
frame_graph->AddRenderPass(std::make_unique<ClearPass>(render_target)); frame_graph->AddRenderPass(std::make_unique<ClearPass>(render_target));
frame_graph->AddRenderPass(std::make_unique<SkyboxPass>(render_target)); frame_graph->AddRenderPass(std::make_unique<SkyboxPass>(render_target));
frame_graph->AddRenderPass(std::make_unique<GeometryPass>(render_target)); frame_graph->AddRenderPass(std::make_unique<GeometryPass>(render_target));
frame_graph->AddRenderPass(std::make_unique<BlitPass>(render_target)); frame_graph->AddRenderPass(std::make_unique<BlitPass>(
render_target, engine->GetSystem<DisplaySystemWindow>()->GetWindow()));
frame_graph->Initialize(); frame_graph->Initialize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment