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:
@ -17,7 +17,7 @@ fn main() {
|
|||||||
let mut gain = 1.0;
|
let mut gain = 1.0;
|
||||||
|
|
||||||
while win.is_open() {
|
while win.is_open() {
|
||||||
let mut buf = [0; W * H];
|
let mut buf = vec![0; W * H];
|
||||||
|
|
||||||
for i in 0..W {
|
for i in 0..W {
|
||||||
for j in 0..H {
|
for j in 0..H {
|
||||||
|
Reference in New Issue
Block a user