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
commit 284a629ab4
Notes: sideshowbarker 2024-07-17 16:40:30 +09:00
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