occlusion culling update

This commit is contained in:
Turanszki Janos
2020-12-09 00:50:54 +01:00
parent 7714767fa0
commit b047e87240
7 changed files with 106 additions and 137 deletions
+2 -2
View File
@@ -46,10 +46,10 @@ void RendererWindow::Create(EditorComponent* editor)
resolutionScaleSlider.OnSlide([editor](wiEventArgs args) {
if (editor->resolutionScale != args.fValue)
{
editor->resolutionScale = args.fValue;
editor->ResizeBuffers();
editor->renderPath->resolutionScale = args.fValue;
editor->renderPath->ResizeBuffers();
editor->resolutionScale = args.fValue;
editor->ResizeBuffers();
}
});
AddWidget(&resolutionScaleSlider);