mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fixed typo in assert in Texture::update
This commit is contained in:
parent
756cb09bc3
commit
9b16bc7c67
@ -447,7 +447,7 @@ void Texture::update(const Texture& texture)
|
||||
void Texture::update(const Texture& texture, unsigned int x, unsigned int y)
|
||||
{
|
||||
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)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user