mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
ambient bugfix
This commit is contained in:
@@ -2157,7 +2157,7 @@ bool opengl_renderer::Render_cab(TDynamicObject const *Dynamic, bool const Alpha
|
||||
}
|
||||
|
||||
// restore ambient
|
||||
light_ubs.ambient += old_ambient;
|
||||
light_ubs.ambient = old_ambient;
|
||||
light_ubo->update(light_ubs);
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user