Fixed and silenced a few warnings

This commit is contained in:
Marco Antognini 2015-11-21 18:44:38 +01:00 committed by Lukas Dürrenberger
parent c98a84a5d8
commit 9d70da3aaa
7 changed files with 13 additions and 10 deletions

View file

@ -45,7 +45,7 @@ int main(int, char const**)
return EXIT_FAILURE;
}
sf::Text text("Hello SFML", font, 50);
text.setColor(sf::Color::Black);
text.setFillColor(sf::Color::Black);
// Load a music to play
sf::Music music;

View file

@ -43,7 +43,7 @@ int main(int argc, char const** argv)
return EXIT_FAILURE;
}
sf::Text text("Hello SFML", font, 50);
text.setColor(sf::Color::Black);
text.setFillColor(sf::Color::Black);
// Load a music to play
sf::Music music;