Skip to content

Commit

Permalink
- fixed bad check for gl pipeline type.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Aug 20, 2021
1 parent 2096fef commit 19c8eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/rendering/gl/gl_framebuffer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 19c8eb1

Please sign in to comment.