mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-25 16:28:42 -06:00
remove geom shader macro
This commit is contained in:
parent
1987354b83
commit
356455a15e
|
@ -1,18 +1,4 @@
|
|||
|
||||
|
||||
macro_rules! include_shader_prefab {
|
||||
($name: literal, $vert: literal, $frag: literal, $geom: literal, $facade: expr) => {
|
||||
{
|
||||
use ::glium::Program;
|
||||
log::info!("compiling shader {}", $name);
|
||||
Program::from_source(
|
||||
&*$facade,
|
||||
include_str!($vert),
|
||||
include_str!($frag),
|
||||
Some(include_str!($geom)),
|
||||
).expect("Failed to compile gpu program")
|
||||
}
|
||||
};
|
||||
($name: literal, $vert: literal, $frag: literal, $facade: expr) => {
|
||||
{
|
||||
use ::glium::Program;
|
||||
|
|
Loading…
Reference in a new issue