From e41f17910823ae990eeb90d29c1bb100633ce2a9 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 18 Jan 2025 17:28:53 +1000 Subject: [PATCH] PostProcessing: Fix erroneous reload message --- src/util/postprocessing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/postprocessing.h b/src/util/postprocessing.h index 6a9ff4fb2..873308bec 100644 --- a/src/util/postprocessing.h +++ b/src/util/postprocessing.h @@ -113,7 +113,7 @@ public: Chain(const char* section); ~Chain(); - ALWAYS_INLINE bool HasStages() const { return m_stages.empty(); } + ALWAYS_INLINE bool HasStages() const { return !m_stages.empty(); } ALWAYS_INLINE bool NeedsDepthBuffer() const { return m_needs_depth_buffer; } ALWAYS_INLINE GPUTexture* GetInputTexture() const { return m_input_texture.get(); } ALWAYS_INLINE GPUTexture* GetOutputTexture() const { return m_output_texture.get(); }