Fix errors and warnings

Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
This commit is contained in:
Lynix
2015-11-12 00:29:10 +01:00
parent a26c979d84
commit 5d6e6b2d45
14 changed files with 55 additions and 30 deletions

View File

@@ -1546,7 +1546,7 @@ namespace Nz
glBindBuffer(OpenGL::BufferTarget[BufferType_Vertex], vertexBufferImpl->GetOpenGLID());
unsigned int bufferOffset = vertexBuffer->GetStartOffset();
const VertexDeclaration* vertexDeclaration = vertexBuffer->GetVertexDeclaration();
vertexDeclaration = vertexBuffer->GetVertexDeclaration();
unsigned int stride = vertexDeclaration->GetStride();
// On définit les bornes (une fois de plus selon l'itération)
@@ -1934,4 +1934,4 @@ namespace Nz
}
unsigned int Renderer::s_moduleReferenceCounter = 0;
}
}