diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-23 19:52:15 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-23 19:52:15 +0100 |
commit | cec167477de8afcb53c2f0b18c3453e1599eb980 (patch) | |
tree | 446c1a22e85cf950de30cc7d80ae2f30bce07b10 /src/crepe/system | |
parent | 444ec7306c8ef43d36f7c6d6e767571b30d10484 (diff) |
Fixing PR
Diffstat (limited to 'src/crepe/system')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index 8f9467e..ad510f5 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -28,8 +28,6 @@ void RenderSystem::update_camera() { if (cameras.size() == 0) throw std::runtime_error("No cameras in current scene"); - if (cameras.size() == 0) throw std::runtime_error("No cameras in current scene"); - for (Camera & cam : cameras) { if (!cam.active) continue; this->context.set_camera(cam); |