Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-12-06 21:33:34 +0000
committerStijn Buys <ingar@osirion.org>2010-12-06 21:33:34 +0000
commitc50095cab023e91ba2a4fec8dcb290e6d817124b (patch)
treee9511df876d45faffb428ee7ae342a8aabab4194 /src/render/render.cc
parent8c7fa7dd3258e8d3e112fb9780249dd0d0ef008a (diff)
Re-enabled environment mapping with the skybox as cubemap.
Diffstat (limited to 'src/render/render.cc')
-rw-r--r--src/render/render.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/render/render.cc b/src/render/render.cc
index 33dcb0c..f24eb83 100644
--- a/src/render/render.cc
+++ b/src/render/render.cc
@@ -22,7 +22,6 @@
#include "render/particles.h"
#include "render/render.h"
#include "render/screenshot.h"
-#include "render/sky.h"
#include "render/textures.h"
#include "sys/sys.h"
@@ -164,9 +163,6 @@ void init(int width, int height)
// unload game assets (zone change)
void unload()
{
- // unload skybox
- Sky::unload();
-
for (core::Entity::Registry::iterator it = core::Entity::registry().begin(); it != core::Entity::registry().end(); it++) {
core:: Entity *entity = (*it).second;
@@ -192,9 +188,6 @@ void unload()
// clear all assets
void clear()
{
- // unload skybox
- Sky::unload();
-
// clear entity models, and globe textures, this will force a reload
for (core::Entity::Registry::iterator it = core::Entity::registry().begin(); it != core::Entity::registry().end(); it++) {
core::Entity *entity = (*it).second;