0 Members and 1 Guest are viewing this topic.
"The instruction at 0x092eafda referenced memory at 0x00000080 the memory could not be read."
sf::Font TextFont;if (!TextFont.LoadFromFile("font.ttf"))std::cout << "Error" << std::endl;sf::String TextSpeed;TextSpeed.SetFont(TextFont);TextSpeed.SetSize(26);TextSpeed.SetColor(sf::Color(0, 0, 0));TextSpeed.Move(50.f, 360.f);
std::string StringSpeed;std::stringstream out1;int Speed = 10;out1 << Speed;StringSpeed = out1.str();TextSpeed.SetText(StringSpeed);App.Draw(TextSpeed);