From ac3e46b97d30e6aab0ff2cad1883c8854f511a13 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Sun, 8 May 2022 01:32:44 +0200 Subject: [PATCH] LibGL: Remove `break` from `GL_SCISSOR_BOX` context parameter We already `return` immediately before; no functional changes. --- Userland/Libraries/LibGL/ContextParameter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGL/ContextParameter.cpp b/Userland/Libraries/LibGL/ContextParameter.cpp index 3b0fd5c7ad..cdb355a838 100644 --- a/Userland/Libraries/LibGL/ContextParameter.cpp +++ b/Userland/Libraries/LibGL/ContextParameter.cpp @@ -95,7 +95,7 @@ Optional 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 } };