Hi,
I am trying to render a texture but I get only a black screen everytime I compile the code without any error. It compiles just fine with the examples from sfml website.
** I am on macOS, using CLion.
void Player::initializeTexture() {
/*
* A texture will be loaded from a file.
*/
if(!this->texture.loadFromFile("/Users/ismailsafwat/CLionProjects/ShapeShooters/Textures/sfmliconbig.png")){
std::cout << "ERROR::PLAYER::INITIALIZETEXTURE::Failed to load the file!" << "\n";
}
}