Fix some warnings

This commit is contained in:
Jérôme Leclercq
2020-10-30 23:08:27 +01:00
parent e5cd461bae
commit 73e86407b3
2 changed files with 4 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ namespace Nz
bool OpenGLBuffer::Fill(const void* data, UInt64 offset, UInt64 size)
{
m_buffer.SubData(offset, size, data);
m_buffer.SubData(GLintptr(offset), GLsizeiptr(size), data);
return true;
}