-pub fn program(display: &glium::Display) -> glium::Program {
- program!(display,
- 100 => {
- vertex: include_str!("mandelwow.vert"),
- fragment: include_str!("mandelwow.frag"),
- }).unwrap()
+pub fn program(display: &Display) -> Program {
+ Program::from_source(
+ display,
+ include_str!("shaders/mandelwow.vert"),
+ include_str!("shaders/mandelwow.frag"), None)
+ .unwrap()