From 19c8eb1e33a1b7311145f05c4564e362f5ac218b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 20 Aug 2021 08:06:50 +0200 Subject: [PATCH] - fixed bad check for gl pipeline type. --- src/common/rendering/gl/gl_framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/rendering/gl/gl_framebuffer.cpp b/src/common/rendering/gl/gl_framebuffer.cpp index 1ec10a0b4f..668965a111 100644 --- a/src/common/rendering/gl/gl_framebuffer.cpp +++ b/src/common/rendering/gl/gl_framebuffer.cpp @@ -135,7 +135,7 @@ void OpenGLFrameBuffer::InitializeState() gl_LoadExtensions(); mPipelineNbr = clamp(*gl_pipeline_depth, 1, HW_MAX_PIPELINE_BUFFERS); - mPipelineType = gl_pipeline_depth < 1; + mPipelineType = gl_pipeline_depth > 0; // Move some state to the framebuffer object for easier access. hwcaps = gl.flags;