From 192befa84bbe1885957ecd22bc6309f8b008bead Mon Sep 17 00:00:00 2001 From: Jesse Buhagiar Date: Fri, 7 Jan 2022 22:32:32 +1100 Subject: LibGL+LibSoftGPU: Add `GL_MAX_LIGHTS` to get_context_parameter This is required to allow lighting to work properly in the GL. We currently have the maximum number of lights in the software GL context set to 8, as this is the minimum that OpenGL mandates according to the spec. --- Userland/Libraries/LibGL/SoftwareGLContext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.h') diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.h b/Userland/Libraries/LibGL/SoftwareGLContext.h index 7f153c617c..4248743b67 100644 --- a/Userland/Libraries/LibGL/SoftwareGLContext.h +++ b/Userland/Libraries/LibGL/SoftwareGLContext.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2021, Stephan Unverwerth + * Copyright (c) 2021-2022, Jesse Buhagiar * * SPDX-License-Identifier: BSD-2-Clause */ -- cgit v1.2.3