mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed world viewer stack overflow on Windows
This commit is contained in:
parent
73e999af87
commit
4da01fba9a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user