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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user