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
Notes:
sideshowbarker
2024-07-17 17:40:13 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/ac3e46b97d Pull-request: https://github.com/SerenityOS/serenity/pull/13970 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/sunverwerth ✅
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
Reference in a new issue