Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sf::Image icon;
- icon.loadFromFile("icon.png");
- window.setIcon(32, 32, icon.getPixelsPtr());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement