Minor fix

This commit is contained in:
iota97 2023-02-12 11:40:50 +01:00
parent 6007f54808
commit 3397703bb7

View file

@ -1830,8 +1830,6 @@ void DeveloperToolsScreen::CreateViews() {
Draw::DrawContext *draw = screenManager()->getDrawContext();
// Experimental, will move to main graphics settings later.
list->Add(new ItemHeader(gr->T("Stereo rendering")));
bool multiViewSupported = draw->GetDeviceCaps().multiViewSupported;
auto enableStereo = [=]() -> bool {
@ -1839,6 +1837,7 @@ void DeveloperToolsScreen::CreateViews() {
};
if (draw->GetDeviceCaps().multiViewSupported) {
list->Add(new ItemHeader(gr->T("Stereo rendering")));
list->Add(new CheckBox(&g_Config.bStereoRendering, gr->T("Stereo rendering")));
std::vector<std::string> stereoShaderNames;