[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49377] branches/ge_harmony/source/ gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OGLFilterManager.cpp: The uniform location caching was not working correctly causing UI uniforms to not work .

Daniel Stokes kupomail at gmail.com
Mon Jul 30 08:07:00 CEST 2012


Revision: 49377
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49377
Author:   kupoman
Date:     2012-07-30 06:07:00 +0000 (Mon, 30 Jul 2012)
Log Message:
-----------
The uniform location caching was not working correctly causing UI uniforms to not work. This should now be fixed.

Modified Paths:
--------------
    branches/ge_harmony/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OGLFilterManager.cpp

Modified: branches/ge_harmony/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OGLFilterManager.cpp
===================================================================
--- branches/ge_harmony/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OGLFilterManager.cpp	2012-07-30 05:53:26 UTC (rev 49376)
+++ branches/ge_harmony/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OGLFilterManager.cpp	2012-07-30 06:07:00 UTC (rev 49377)
@@ -245,7 +245,7 @@
 		FilterUniform uniform = it->second;
 		if (uniform.type == RAS_IRasterizer::RAS_BUILTIN)
 			continue;
-		uniform.bind = glGetUniformLocationARB(m_filters[passindex], name);
+		m_uniforms[passindex][name].bind = glGetUniformLocationARB(m_filters[passindex], name);
 	}
 }
 




More information about the Bf-blender-cvs mailing list