Started declaring graphics resources

This commit is contained in:
Dynamitos
2020-03-06 11:32:01 +01:00
parent 328edf5196
commit df3ed3c49e
8 changed files with 150 additions and 14 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ Seele::Window::Window(const WindowCreateInfo& createInfo)
: width(createInfo.width)
, height(createInfo.height)
{
graphics = new VulkanGraphics();
center = new Section();
center->resizeArea(Rect(1, 1, 0, 0));
center->addView(new SceneView());
graphics = new VulkanGraphics();
center->addView(new SceneView(graphics));
windowHandle = graphics->createWindow(createInfo);
}