diff options
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r-- | src/render/draw.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index a49b017..0d77c7b 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -322,6 +322,8 @@ void draw_globe_rings(const math::Color & color, const size_t rings_id) //gl::enable(GL_CULL_FACE); gl::disable(GL_BLEND); + + Stats::quads += 2; } void draw_pass_globes() @@ -1085,7 +1087,9 @@ void draw_pass_model_fx(float elapsed) // draw particle systems if (draw_particles && ext_render(entity)->particles().size()) { + /* gl::disable(GL_CULL_FACE); + model::Cull current_cull = model::CullNone; for (RenderExt::ParticleSystems::iterator it = ext_render(entity)->particles().begin(); it != ext_render(entity)->particles().end(); it++) { @@ -1112,7 +1116,10 @@ void draw_pass_model_fx(float elapsed) particlesystem->draw(elapsed); } - + */ + for (RenderExt::ParticleSystems::iterator it = ext_render(entity)->particles().begin(); it != ext_render(entity)->particles().end(); ++it) { + (*it)->draw(elapsed); + } } } |