Fixed and silenced a few warnings
This commit is contained in:
parent
c98a84a5d8
commit
9d70da3aaa
7 changed files with 13 additions and 10 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue