Hello,
I found a weird behavior of the sf::Sprite class.
It seems that the Image is rendered to the console (somehow
).
The Code
#include <iostream>
#include <SFML/Graphics.hpp>
int main()
{
sf::Texture tex;
sf::Sprite spr;
if (!tex.loadFromFile("sfml.png"))
{
std::cout << "Not loaded" << std::endl;
std::cin.get();
return EXIT_FAILURE;
}
spr.setTexture(tex);
std::cin.get();
return EXIT_SUCCESS;
}
my SFML propery sheet:
http://pastebin.com/7kMbJsgPthe bug:
(The rest of the console output is not interesting, there are just random signs)
OS: Win 8.1
Compiler: Visual C++ Express 2013
Antivirus was deactivated
Thanks in advance
Jamedon