1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

LibGL+LibSoftGPU: Implement more of GL_LIGHT_MODEL_COLOR_CONTROL

This gets rid of a place where OpenGL was leaking into LibSoftGPU.
This commit is contained in:
Jelle Raaijmakers 2022-03-23 11:07:39 +01:00 committed by Brian Gianforcaro
parent 4b6b9f272f
commit 284a629ab4
5 changed files with 24 additions and 14 deletions

View file

@ -263,6 +263,9 @@ extern "C" {
#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
#define GL_LIGHT_MODEL_AMBIENT 0x0B53
#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
#define GL_SINGLE_COLOR 0x81F9
#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
#define GL_FLAT 0x1D00
#define GL_SMOOTH 0x1D01