mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-02 21:45:25 +00:00
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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user