mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user