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,8 +45,8 @@ int main()
return EXIT_FAILURE;
sf::Text text("SFML / OpenGL demo", font);
sf::Text instructions("Press space to toggle sRGB conversion", font);
text.setColor(sf::Color(255, 255, 255, 170));
instructions.setColor(sf::Color(255, 255, 255, 170));
text.setFillColor(sf::Color(255, 255, 255, 170));
instructions.setFillColor(sf::Color(255, 255, 255, 170));
text.setPosition(250.f, 450.f);
instructions.setPosition(150.f, 500.f);