Minor fixes
This commit is contained in:
committed by
Jérôme Leclercq
parent
f45c2c5008
commit
5c7059c8fc
@@ -118,7 +118,7 @@ namespace Nz
|
||||
|
||||
bool OpenGLTexture::Copy(const Texture& source, const Boxui& srcBox, const Vector3ui& dstPos)
|
||||
{
|
||||
const OpenGLTexture& glTexture = static_cast<const OpenGLTexture&>(source);
|
||||
const OpenGLTexture& glTexture = SafeCast<const OpenGLTexture&>(source);
|
||||
|
||||
const GL::Context& context = m_texture.EnsureDeviceContext();
|
||||
return context.CopyTexture(glTexture, *this, srcBox, dstPos);
|
||||
|
||||
Reference in New Issue
Block a user