You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what's wrong here? cpuMeshModificationDirect... ERROR [ASSERTION] Assertion failed usage != CPU (file e:\xuni\proland-4.0\ork-master\ork\render\mesh.h line 330)
template<class vertex, class index>
Mesh<vertex, index>::Mesh(MeshMode m, MeshUsage usage, int vertexCount, int indiceCount) :
Object("Mesh"), usage(usage), vertexBuffer(NULL), indexBuffer(NULL), created(false), m(m), buffers(new MeshBuffers())
{
// Lars added check since CPU mesh(VB) does not allways work:
// Block this until CPUBuffers are fixed
// TODO: Remove when CPUBuffers have been fixed
assert(usage != CPU);
vertices = new vertex[vertexCount];
verticesLength = vertexCount;
verticesCount = 0;
indices = new index[indiceCount];
indicesLength = indiceCount;
indicesCount = 0;
primitiveRestart = -1;
patchVertices = 0;
vertexDataHasChanged = true;
indexDataHasChanged = true;
}
The text was updated successfully, but these errors were encountered:
cpuMeshModificationIndices... ERROR [ASSERTION] Assertion failed usage != CPU (file e:\xuni\proland-4.0\ork-master\ork\render\mesh.h line 330) INFO [UI] Status: Using GLEW 2.1.0
Anything else is OK or SKIPPED, but will these two errors effect something in Proland?
what's wrong here?
cpuMeshModificationDirect... ERROR [ASSERTION] Assertion failed usage != CPU (file e:\xuni\proland-4.0\ork-master\ork\render\mesh.h line 330)
The text was updated successfully, but these errors were encountered: