diff options
author | Nick <iamn1ck@yahoo.com> | 2020-03-14 11:40:33 -0500 |
---|---|---|
committer | Nick <iamn1ck@yahoo.com> | 2020-03-14 11:40:33 -0500 |
commit | e249ab72ad4550a02bdd3081335485e03e4553bc (patch) | |
tree | 5749f383d82b1bedb6f3ba8b06987f96136f8462 /src/main.rs | |
parent | 9a491d5f7221c23e75268226844bf5ffd4d8f086 (diff) |
Added my stuff
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 5cb2e3a..320aa8f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,7 +65,7 @@ fn main() { stream.play(); let mut tom = Tom::new(waveform); - let mut n1ck = N1ck::new(); + let mut n1ck = N1ck::new(&mut surface); let viewports = gen_viewports(); @@ -93,7 +93,7 @@ fn main() { if i == 0 || i == 3 { surface = tom.draw(surface, &back_buffer, &program, &pipeline_state); } else if i == 1 || i == 2 { - surface = n1ck.draw(surface, &back_buffer, &program, &pipeline_state); + surface = n1ck.draw(surface, &back_buffer, &pipeline_state); } } |