diff options
-rw-r--r-- | src/render.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render.cpp b/src/render.cpp index 88ad25f..1dc6581 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -21,6 +21,8 @@ along with Minitrem. If not, see <http://www.gnu.org/licenses/>. static sf::RectangleShape wot_rect; static sf::Font font; +#include <unistd.h> + namespace render { state_t::state_t(sf::RenderWindow *window_) @@ -28,6 +30,10 @@ state_t::state_t(sf::RenderWindow *window_) window = window_; font.loadFromFile("assets/FanwoodText.otf"); + + window->clear(); + render_text(v2f_t(0, 0), 50, "Loading...", ALIGN_LEFT_TOP, sf::Color::White); + window->display(); } typedef struct { |