fixed #45 and some other things

This commit is contained in:
turanszkij
2019-11-03 17:11:54 +00:00
parent 18ecf3a477
commit 4c87f6c218
12 changed files with 74 additions and 29 deletions
+3 -1
View File
@@ -1,9 +1,10 @@
#include "stdafx.h"
#include "RendererWindow.h"
#include "RenderPath3D.h"
#include "Editor.h"
RendererWindow::RendererWindow(wiGUI* gui, RenderPath3D* path) : GUI(gui)
RendererWindow::RendererWindow(wiGUI* gui, EditorComponent* editorcomponent, RenderPath3D* path) : GUI(gui)
{
assert(GUI && "Invalid GUI!");
@@ -324,6 +325,7 @@ RendererWindow::RendererWindow(wiGUI* gui, RenderPath3D* path) : GUI(gui)
default:
break;
}
editorcomponent->ResizeBuffers();
});
MSAAComboBox->SetSelected(0);
MSAAComboBox->SetEnabled(true);