Fixed world viewer stack overflow on Windows

This commit is contained in:
Joshua Barretto 2019-06-15 15:50:54 +01:00
parent 73e999af87
commit 4da01fba9a

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 {