From 6a82d04e2b5edffc32df44aa46d6cf60428c7b44 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 6 Nov 2017 19:46:56 +0000 Subject: Don't use the deprecated setColor for text. --- src/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render.cpp') diff --git a/src/render.cpp b/src/render.cpp index c8513cb..a6cc6b5 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -103,7 +103,7 @@ void state_t::render(game::state_t *game) sf::Text text(debug.text, font, 20); text.setPosition(debug.x); text.setScale(0.006, 0.006); - text.setColor(sf::Color::Red); + text.setFillColor(sf::Color::Red); window->draw(text); } } -- cgit