mirror of https://github.com/ZDoom/gzdoom-gles.git
- fixed bad check for gl pipeline type.
This commit is contained in:
parent
2096fefcee
commit
19c8eb1e33
|
@ -135,7 +135,7 @@ void OpenGLFrameBuffer::InitializeState()
|
||||||
gl_LoadExtensions();
|
gl_LoadExtensions();
|
||||||
|
|
||||||
mPipelineNbr = clamp(*gl_pipeline_depth, 1, HW_MAX_PIPELINE_BUFFERS);
|
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.
|
// Move some state to the framebuffer object for easier access.
|
||||||
hwcaps = gl.flags;
|
hwcaps = gl.flags;
|
||||||
|
|
Loading…
Reference in New Issue