From e967d31a98d7fc7dd53a6b04b316db7b831b9862 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Sun, 28 Nov 2021 22:27:35 +0100 Subject: [PATCH] LibGL: Remove unused default from rasterizer scissor_box Its value is always set in the constructor. --- Userland/Libraries/LibGL/SoftwareRasterizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGL/SoftwareRasterizer.h b/Userland/Libraries/LibGL/SoftwareRasterizer.h index 6a54e8e35b..479d0d1450 100644 --- a/Userland/Libraries/LibGL/SoftwareRasterizer.h +++ b/Userland/Libraries/LibGL/SoftwareRasterizer.h @@ -46,7 +46,7 @@ struct RasterizerOptions { GLfloat fog_start { 0.0f }; GLfloat fog_end { 1.0f }; bool scissor_enabled { false }; - Gfx::IntRect scissor_box {}; + Gfx::IntRect scissor_box; GLenum draw_buffer { GL_BACK }; GLfloat depth_offset_factor { 0 }; GLfloat depth_offset_constant { 0 };