Just set up this quick test and got the same result. I must be missing something. Here is the image I am using in case that helps.
https://www.dropbox.com/s/u2sqtf73hpvx3k0/alphaTest.png?dl=0#include <SFML/Graphics.hpp>
#include <iostream>
int main()
{
sf::RenderWindow App(sf::VideoMode(1920, 1080), "Test");
sf::Texture image;
sf::Sprite logo;
if (!image.loadFromFile("assets/images/alphaTest.png"))
{
std::cerr << "Error loading image" << std::endl;
return (-1);
}
logo.setTexture(image);
App.clear();
while (App.isOpen())
{
sf::Event e;
while (App.pollEvent(e))
if (e.type == sf::Event::Closed)
App.close();
App.draw(logo);
App.display();
}
return (-1);
}
EDIT: I'm an idiot. I moved App.clear(); inside the while loop and now it works.