Hi I'm trying to make a TextView class to render texts like:
textView = new TextView("Hello World!");
textView->render(window);
but at this line i get the force close:
void View::render(sf::RenderTarget *target) {
target->draw(*view);
}
view is a View class member:
sf::Drawable *view;