Skip to content

Commit

Permalink
Use macros to define shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Oct 13, 2023
1 parent 9ffb24f commit d322789
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 243 deletions.
2 changes: 1 addition & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use std::{

pub type Error = Box<dyn std::error::Error>;

#[derive(Clone, Copy, PartialEq, Eq, Hash)]
#[derive(Clone, Copy, PartialEq, Eq, Hash, Default)]
pub struct ShaderId(pub usize);

#[derive(Clone, Copy, PartialEq, Eq, Hash)]
Expand Down
Loading

0 comments on commit d322789

Please sign in to comment.