Blur regression fixed

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1114 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2008-07-20 16:18:12 +00:00
parent f34c05943e
commit c0f8d09cf3

View File

@ -12,9 +12,7 @@ ShaderEngine::ShaderEngine()
{
#ifdef USE_CG
SetupCg();
#endif
}
ShaderEngine::~ShaderEngine()
@ -550,6 +548,7 @@ void ShaderEngine::RenderBlurTextures(const Pipeline *pipeline, const PipelineCo
glBlendFunc(GL_ONE, GL_ZERO);
glColor4f(1.0, 1.0, 1.0, 1.0f);
glBindTexture(GL_TEXTURE_2D, mainTextureId);
glEnable(GL_TEXTURE_2D);
glEnableClientState(GL_VERTEX_ARRAY);