Hey, why does this give me the following error?
sf::Texture t;
sf::Texture t2;
t.create(300, 300);
t2.create(100, 100);
t.update(t2);
error: no matching function for call to ‘sf::Texture::update(sf::Texture&)’
t.update(t2);
When this function definitely exists?
void sf::Texture::update(const Texture &texture)