//.with_fullscreen(glutin::get_primary_monitor())
.with_depth_buffer(24)
.with_vsync()
+ .with_srgb(Some(true))
.with_title(format!("MandelWow"))
.build_glium()
+ //.build_glium_debug(glium::debug::DebugCallbackBehavior::PrintAll)
.unwrap();
gl_info(&display);
zmax: 1.1,
};
let mandelwow_bbox = bounding_box::BoundingBox::new(&display, &bounds, &bounding_box_program);
- let shaded_cube = ShadedCube::new(&display, &Cube::default(), &shaded_program);
+ let shaded_cube = ShadedCube::new(&display, &shaded_program);
const SEA_XSIZE: usize = 24;
const SEA_ZSIZE: usize = 20;
.with_depth_buffer(24)
.rebuild_glium(&display).unwrap();
} else {
- //glutin::WindowBuilder::new()
- // .rebuild_glium(&display).unwrap();
+ glutin::WindowBuilder::new()
+ .rebuild_glium(&display).unwrap();
}
},
ev => camera.process_input(&ev),