Started declaring graphics resources

This commit is contained in:
Dynamitos committed 2020-03-06 11:32:01 +01:00
1 parent 328edf5196
commit df3ed3c49e
8 files changed
+150 -14

No files matched your search

+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);
}