mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-16 17:00:35 +03:00
LibGL: Set correct color material mode for GL_AMBIENT_AND_DIFFUSE
This was a silly mistake :^)
This commit is contained in:
parent
7ba6eb37fc
commit
08204efe1f
Notes:
sideshowbarker
2024-07-17 07:21:08 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/08204efe1f Pull-request: https://github.com/SerenityOS/serenity/pull/15168
@ -510,8 +510,7 @@ void GLContext::sync_light_state()
|
||||
options.color_material_mode = GPU::ColorMaterialMode::Ambient;
|
||||
break;
|
||||
case GL_AMBIENT_AND_DIFFUSE:
|
||||
options.color_material_mode = GPU::ColorMaterialMode::Ambient;
|
||||
options.color_material_mode = GPU::ColorMaterialMode::Diffuse;
|
||||
options.color_material_mode = GPU::ColorMaterialMode::AmbientAndDiffuse;
|
||||
break;
|
||||
case GL_DIFFUSE:
|
||||
options.color_material_mode = GPU::ColorMaterialMode::Diffuse;
|
||||
|
Loading…
Reference in New Issue
Block a user