summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GL
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-03-23 11:07:39 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-03-27 09:19:43 -0700
commit284a629ab4eba46af4880c3174a212bcc59a6be9 (patch)
tree02e5673383e534678f485e28f5726725f1cd5465 /Userland/Libraries/LibGL/GL
parent4b6b9f272f83d5932e9dca771d54e6ab5252b758 (diff)
downloadserenity-284a629ab4eba46af4880c3174a212bcc59a6be9.zip
LibGL+LibSoftGPU: Implement more of `GL_LIGHT_MODEL_COLOR_CONTROL`
This gets rid of a place where OpenGL was leaking into LibSoftGPU.
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r--Userland/Libraries/LibGL/GL/gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h
index e8da547143..ce37953258 100644
--- a/Userland/Libraries/LibGL/GL/gl.h
+++ b/Userland/Libraries/LibGL/GL/gl.h
@@ -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