Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Extra pixels drawn
Print
Pages: [
1
]
Author
Topic: Extra pixels drawn (Read 1778 times)
0 Members and 1 Guest are viewing this topic.
RedTheGreen
Newbie
Posts: 19
Extra pixels drawn
«
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:
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?
Logged
FRex
Hero Member
Posts: 1848
Back to C++ gamedev with SFML in May 2023
Re: Extra pixels drawn
«
Reply #1 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.
Logged
Back to C++ gamedev with SFML in May 2023
RedTheGreen
Newbie
Posts: 19
Re: Extra pixels drawn
«
Reply #2 on:
December 07, 2012, 03:04:51 am »
Thanks
Logged
FRex
Hero Member
Posts: 1848
Back to C++ gamedev with SFML in May 2023
Re: Extra pixels drawn
«
Reply #3 on:
December 07, 2012, 03:12:48 am »
Consider switching to 2.0 too, it's much better.
Logged
Back to C++ gamedev with SFML in May 2023
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Extra pixels drawn