Commit 83a22f8b authored by Martin Heistermann's avatar Martin Heistermann

Test: disable apparently broken invalidation checks

parent c44f2820
......@@ -1866,13 +1866,13 @@ GLuint VolumeMeshBufferManager<VolumeMesh>::getBuffer()
if (buffer)
{
if (positionsNeedRebuild())
//if (positionsNeedRebuild())
buildVertexBuffer(buffer);
if (normalsNeedRebuild())
//if (normalsNeedRebuild())
buildNormalBuffer(buffer);
if (colorsNeedRebuild())
//if (colorsNeedRebuild())
buildColorBuffer(buffer);
if (texCoordsNeedRebuild())
//if (texCoordsNeedRebuild())
buildTexCoordBuffer(buffer);
......@@ -1942,9 +1942,9 @@ GLuint VolumeMeshBufferManager<VolumeMesh>::getPickBuffer(ACG::GLState &_state,
if (buffer)
{
if (positionsNeedRebuild())
//if (positionsNeedRebuild())
buildVertexBuffer(buffer);
if (colorsNeedRebuild())
//if (colorsNeedRebuild())
buildPickColorBuffer(_state, _offset, buffer);
ACG::GLState::unmapBuffer(GL_ARRAY_BUFFER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment