diff --git a/Userland/Libraries/LibGL/GLAPI.json b/Userland/Libraries/LibGL/GLAPI.json index 08645204ed..3676c4d74d 100644 --- a/Userland/Libraries/LibGL/GLAPI.json +++ b/Userland/Libraries/LibGL/GLAPI.json @@ -551,12 +551,28 @@ "implementation": "lightf" }, "LightModel": { + "arguments": [ + {"type": "GLenum", "name": "pname"}, + {"name": "param"}, + {"name": ["y", "z", "w"]} + ], + "variants": { + "argument_counts": [1], + "argument_defaults": ["0.f", "0.f", "0.f", "0.f"], + "types": { + "f": {}, + "i": {} + } + } + }, + "LightModel_v": { "arguments": [ {"type": "GLenum", "name": "pname"}, {"name": "param"}, {"type": "GLenum", "expression": "@variant_gl_type@"} ], "implementation": "light_modelv", + "name": "LightModel", "variants": { "argument_counts": [1], "pointer_argument": "params", @@ -566,22 +582,6 @@ } } }, - "LightModelf": { - "arguments": [ - {"type": "GLenum", "name": "pname"}, - {"type": "GLfloat", "name": "x"}, - {"name": ["y", "z", "w"], "expression": "0.f"} - ], - "implementation": "light_model" - }, - "LightModeli": { - "arguments": [ - {"type": "GLenum", "name": "pname"}, - {"type": "GLint", "name": "x", "cast_to": "GLfloat"}, - {"name": ["y", "z", "w"], "expression": "0.f"} - ], - "implementation": "light_model" - }, "LineWidth": { "arguments": [ {"type": "GLfloat", "name": "width"}