SFML community forums
Help => Graphics => Topic started by: ascii on April 07, 2012, 08:49:38 pm
-
Hey guys, I know this is a common problem, but having researched it some I still haven't been able to find a fix. Basically I'm just getting lots of BS characters in my titlebar text. I initialized my RenderWindow like this:
App(sf::VideoMode(ScreenWidth, ScreenHeight, 32), std::string(), sf::Style::Close)
For some reason the titlebar text looks like this: http://imageshack.us/photo/my-images/11/photour.png/
So can anyone help me fix this? Thanks!
-
And what happens if you pass a non-empty title?
-
The title I give it appears, but the weird characters still appear to the left of it when I initalized the object like:
App(sf::VideoMode(ScreenWidth, ScreenHeight, 32),
std::string("Snake"), sf::Style::Close),
I'm using Visual Studio 2010, by the way.
-
Are you compiling with the debug libraries but using a release configuration in visual studio by any chance (or the other way around)?
-
*facepalm*, that fixed it, thanks to both of you!