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.
This commit is contained in:
Jesse Buhagiar 2022-01-07 22:32:32 +11:00 committed by Linus Groh
commit 192befa84b
Notes: sideshowbarker 2024-07-17 21:07:00 +09:00
5 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
* Copyright (c) 2021-2022, Jesse Buhagiar <jooster669@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/