mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibGL+LibSoftGPU: Remove unused variable specular_exponent
This was a duplicate of the `Material::shininess` variable.
This commit is contained in:
parent
5a735602b0
commit
5bb8c14c8f
Notes:
sideshowbarker
2024-07-17 20:42:00 +09:00
Author: https://github.com/Quaker762 Commit: https://github.com/SerenityOS/serenity/commit/5bb8c14c8ff Pull-request: https://github.com/SerenityOS/serenity/pull/11905 Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/IdanHo ✅ Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/sunverwerth ✅
2 changed files with 0 additions and 2 deletions
|
@ -3104,7 +3104,6 @@ void SoftwareGLContext::sync_light_state()
|
|||
material.specular = current_material_state.specular;
|
||||
material.emissive = current_material_state.emissive;
|
||||
material.shininess = current_material_state.shininess;
|
||||
material.specular_exponent = current_material_state.specular_exponent;
|
||||
material.ambient_color_index = current_material_state.ambient_color_index;
|
||||
material.diffuse_color_index = current_material_state.diffuse_color_index;
|
||||
material.specular_color_index = current_material_state.specular_color_index;
|
||||
|
|
|
@ -16,7 +16,6 @@ struct Material {
|
|||
FloatVector4 specular { 0.0f, 0.0f, 0.0f, 1.0f };
|
||||
FloatVector4 emissive { 0.0f, 0.0f, 0.0f, 1.0f };
|
||||
float shininess { 0.0f };
|
||||
float specular_exponent { 0.0f };
|
||||
float ambient_color_index { 0.0f };
|
||||
float diffuse_color_index = { 1.0f };
|
||||
float specular_color_index = { 1.0f };
|
||||
|
|
Loading…
Reference in a new issue