SFML community forums

Help => Graphics => Topic started by: RedTheGreen on December 06, 2012, 03:43:57 am

Title: Extra pixels drawn
Post by: RedTheGreen on December 06, 2012, 03:43:57 am
When I try drawing anything (SFML-1.6) via sf::RenderWindow::Draw() it semi-randomly comes up with extra pixels over the image that I loaded.

Example:
(http://i.imgur.com/wn9EL.png)

This occurs for most images I try. I have a feeling SFML adds some sort of effect or blur to images when they are drawn. Else, what should I do to fix it?
Title: Re: Extra pixels drawn
Post by: FRex on December 06, 2012, 03:54:25 am
sf::Image::SetSmooth(false), it's enabled by default in 1.6, 2.0 doesn't do that so it's not so confusing at first.
Title: Re: Extra pixels drawn
Post by: RedTheGreen on December 07, 2012, 03:04:51 am
Thanks
Title: Re: Extra pixels drawn
Post by: FRex on December 07, 2012, 03:12:48 am
Consider switching to 2.0 too, it's much better.