Fix some warnings
This commit is contained in:
parent
e5cd461bae
commit
73e86407b3
|
|
@ -18,7 +18,10 @@ namespace Nz
|
|||
if constexpr (std::is_same_v<T, std::decay_t<First>>)
|
||||
return std::forward<First>(first);
|
||||
else
|
||||
{
|
||||
NazaraUnused(first);
|
||||
return Get(std::forward<Args>(args)...);
|
||||
}
|
||||
}
|
||||
|
||||
static auto Get()
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue