wasn't the layout. It was the colors being bound between 0-1 instead of 255 like I was expecting

This commit is contained in:
2019-07-18 22:39:27 -07:00
parent 5928eb5dde
commit 58f5289a3b
2 changed files with 11 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ use shaderc::CompileOptions;
use shade_runner::CompileError;
use crate::workpiece::{WorkpieceLoader, Workpiece};
use winit::{EventsLoop, WindowBuilder, WindowEvent, Event};
use winit::dpi::LogicalSize;
use vulkano_win::VkSurfaceBuild;
@@ -67,6 +68,7 @@ fn main() {
let mut events_loop = EventsLoop::new();
let mut surface = WindowBuilder::new()
.with_dimensions(LogicalSize::from((800, 800)))
.build_vk_surface(&events_loop, instance.clone()).unwrap();
let mut window = surface.window();