Why is it so slow?
Why does drawing the text dynamically slow it down so much?
void draw_text(int x, int y, char* text)
{
sf::String displayText = sf::String();
displayText.SetColor(sf::Color(globalsys::current_color->getRed(),globalsys::current_color->getGreen(),
globalsys::current_color->getBlue(),255*globalsys::current_alpha));
displayText.SetFont(globalsys::current_font.font);
displayText.SetSize(globalsys::current_font.size);
if (view_enabled)
displayText.Move(x-view_xview,y-view_yview);
else
displayText.Move(x,y);
displayText.SetText(text);
App.Draw(displayText);
}