General code spring cleaning (#3525)

This commit is contained in:
Alexander Bock
2025-02-22 15:28:14 +01:00
committed by GitHub
parent de57307537
commit 5152a7a6e0
156 changed files with 1088 additions and 1390 deletions

View File

@@ -150,14 +150,7 @@ void ScreenSpaceFramebuffer::render(const RenderData& renderData) {
}
bool ScreenSpaceFramebuffer::isReady() const {
bool ready = true;
if (!_shader) {
ready &= false;
}
if (!_texture) {
ready &= false;
}
return ready;
return _shader && _texture;
}
void ScreenSpaceFramebuffer::setSize(glm::vec4 size) {