mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
LibGL: Remove break
from GL_SCISSOR_BOX
context parameter
We already `return` immediately before; no functional changes.
This commit is contained in:
parent
0730bd620c
commit
ac3e46b97d
1 changed files with 1 additions and 1 deletions
|
@ -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 } };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue