Hi Micheal,
Bug already found in previous post "problem with svn (atomic counter?)",
fix in submission. Just wait some hours or one day, I hope Robert will
push it quickly. Or use the fix in previous post.
<code>
if (_extensions->isShaderAtomicCounterSupported() &&
!atomicCounterMap.empty())
{
std::vector<GLint> bufferIndex( atomicCounterMap.size(), 0 );
std::vector<GLuint> uniformIndex;
</code>
Thanks
David Callu
2012/3/29 Michael A. Eriksen <[email protected]>
> With the latest update I get an error in
>
> void Program::PerContextProgram::linkProgram(osg::State& state)
>
> There error is in
>
> _extensions->glGetActiveUniformsiv( _glProgramHandle, uniformIndex.size(),
> &(uniformIndex[0]),
> GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX,
> &(bufferIndex[0]) );
>
> The size of uniformIndex is 0!!
>
> Try and run osgsimplegl3!!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=46684#46684
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org