diff options
author | Stijn Buys <ingar@osirion.org> | 2012-10-16 17:12:26 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-10-16 17:12:26 +0000 |
commit | 2aff6864e084a3e7af4677c33f88cc7cfee5f4d8 (patch) | |
tree | ed3985fc0664b089d7222a80a3a1b4c0f2f32485 /src/render | |
parent | 7859a5ffeb9e6dcc1ce7fd98a0d4932425d3d282 (diff) |
Default sky is loaded in in the game module, the engine falls back to black.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/draw.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 3d71ad4..04a2734 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -148,7 +148,7 @@ void draw_pass_sky() if (core::localplayer()->zone()->sky().size()) { Textures::load_cubemap("textures/sky/" + core::localplayer()->zone()->sky()); } else { - Textures::load_cubemap("textures/sky/default"); + return; } gl::enable(GL_TEXTURE_CUBE_MAP); |