Skip to content
Snippets Groups Projects

WIP: Feature/#388 reworked framegraph

Closed Jan Delember requested to merge feature/#388_reworked_framegraph into master
1 unresolved thread
2 files
+ 17
18
Compare changes
  • Side-by-side
  • Inline

Files

+ 11
2
@@ -22,8 +22,17 @@
#include "display_system.hpp"
#include <vector>
namespace phx {
DisplaySystem::DisplaySystem(Engine* engine) : System(engine) {}
DisplaySystem::~DisplaySystem() {}
void DisplaySystem::Update(const FrameTimer::TimeInfo&) { tick(); }
std::vector<di::opengl_window*> DisplaySystem::OpenGLWindows() const {
std::vector<di::opengl_window*> opengl_windows;
for (auto window : windows()) {
auto opengl_window = dynamic_cast<di::opengl_window*>(window);
if (opengl_window) opengl_windows.push_back(opengl_window);
}
return opengl_windows;
}
} // namespace phx
Loading