mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00: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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue