mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:17:35 +00:00
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:
parent
9ec2b379a4
commit
192befa84b
5 changed files with 7 additions and 1 deletions
|
@ -14,6 +14,7 @@ struct DeviceInfo final {
|
|||
String vendor_name;
|
||||
String device_name;
|
||||
unsigned num_texture_units;
|
||||
unsigned num_lights;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue