allocation removals and fixes

This commit is contained in:
Turánszki János
2024-06-04 07:32:26 +02:00
parent 8f03af5065
commit 00a72a7b30
10 changed files with 68 additions and 38 deletions
+1 -1
View File
@@ -1525,7 +1525,7 @@ void GraphicsWindow::Update()
resolutionScaleSlider.SetValue(editor->resolutionScale);
streamingSlider.SetValue(wi::resourcemanager::GetStreamingMemoryThreshold());
MSAAComboBox.SetSelectedByUserdataWithoutCallback(editor->renderPath->getMSAASampleCount());
tonemapCombo.SetSelected((int)editor->renderPath->getTonemap());
tonemapCombo.SetSelectedByUserdataWithoutCallback((int)editor->renderPath->getTonemap());
exposureSlider.SetValue(editor->renderPath->getExposure());
brightnessSlider.SetValue(editor->renderPath->getBrightness());
contrastSlider.SetValue(editor->renderPath->getContrast());