mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 10:29:19 +02: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
|
// restore ambient
|
||||||
light_ubs.ambient += old_ambient;
|
light_ubs.ambient = old_ambient;
|
||||||
light_ubo->update(light_ubs);
|
light_ubo->update(light_ubs);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user