From 96114d25e46a1a07b38e6d6d1f7c7b49839882e7 Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Wed, 24 Feb 2010 00:43:29 +0000 Subject: [PATCH] indians with particle party! Particel renderer fix for tilesets with fog enabled. --- source/shared_lib/sources/graphics/gl/particle_renderer_gl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/shared_lib/sources/graphics/gl/particle_renderer_gl.cpp b/source/shared_lib/sources/graphics/gl/particle_renderer_gl.cpp index adfa5877f..4e19b9a4b 100644 --- a/source/shared_lib/sources/graphics/gl/particle_renderer_gl.cpp +++ b/source/shared_lib/sources/graphics/gl/particle_renderer_gl.cpp @@ -1,7 +1,7 @@ // ============================================================== // This file is part of Glest Shared Library (www.glest.org) // -// Copyright (C) 2001-2008 Martiño Figueroa +// Copyright (C) 2001-2008 Marti�o Figueroa // // You can redistribute this code and/or modify it under // the terms of the GNU General Public License as published @@ -96,6 +96,7 @@ void ParticleRendererGl::renderSystem(ParticleSystem *ps){ glBindTexture(GL_TEXTURE_2D, 0); } glDisable(GL_ALPHA_TEST); + glDisable(GL_FOG); glAlphaFunc(GL_GREATER, 0.0f); glEnable(GL_TEXTURE_2D); glEnableClientState(GL_VERTEX_ARRAY);