Don't default the heightmap to 120

This commit is contained in:
Thinkofname 2016-04-02 22:08:36 +01:00
parent b975a01f30
commit daeb8e5a2b
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ impl Clouds {
buffer.set_data(gl::ARRAY_BUFFER, &data, gl::STATIC_DRAW);
let heightmap_data = vec![120; 512*512];
let heightmap_data = vec![0; 512*512];
let texture = gl::Texture::new();
texture.bind(gl::TEXTURE_2D);