Fixed typo in assert in Texture::update

This commit is contained in:
Bruno Van de Velde 2017-03-20 01:14:05 +01:00
parent 756cb09bc3
commit 9b16bc7c67

View File

@ -447,7 +447,7 @@ void Texture::update(const Texture& texture)
void Texture::update(const Texture& texture, unsigned int x, unsigned int y) void Texture::update(const Texture& texture, unsigned int x, unsigned int y)
{ {
assert(x + texture.m_size.x <= m_size.x); assert(x + texture.m_size.x <= m_size.x);
assert(y + texture.m_size.x <= m_size.y); assert(y + texture.m_size.y <= m_size.y);
if (!m_texture || !texture.m_texture) if (!m_texture || !texture.m_texture)
return; return;