Fixed world viewer stack overflow on Windows

This commit is contained in:
Joshua Barretto
2019-06-15 15:50:54 +01:00
parent 42e9144eca
commit 1f36f6d5e8

View File

@ -17,7 +17,7 @@ fn main() {
let mut gain = 1.0;
while win.is_open() {
let mut buf = [0; W * H];
let mut buf = vec![0; W * H];
for i in 0..W {
for j in 0..H {