The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs

This commit is contained in:
Alex Szpakowski
2013-09-24 11:09:18 -03:00
parent 8d5ddb9e34
commit 5de43a7207
24 changed files with 127 additions and 129 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ void VBO::fill(size_t offset, size_t size, const void *data)
const void *VBO::getPointer(size_t offset) const
{
return reinterpret_cast<const void *>(offset);
return BUFFER_OFFSET(offset);
}
bool VBO::loadVolatile()