LibGL: Remove break from GL_SCISSOR_BOX context parameter

We already `return` immediately before; no functional changes.
This commit is contained in:
Jelle Raaijmakers 2022-05-08 01:32:44 +02:00 committed by Linus Groh
parent 0730bd620c
commit ac3e46b97d
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00

View file

@ -95,7 +95,7 @@ Optional<ContextParameter> GLContext::get_context_parameter(GLenum name)
scissor_box.height(),
} }
};
} break;
}
case GL_SCISSOR_TEST: {
auto scissor_enabled = m_rasterizer->options().scissor_enabled;
return ContextParameter { .type = GL_BOOL, .is_capability = true, .value = { .boolean_value = scissor_enabled } };