SFML community forums

Help => Window => Topic started by: Cl9 on January 09, 2015, 07:47:08 pm

Title: Black dots in the window depending on window style
Post by: Cl9 on January 09, 2015, 07:47:08 pm
I'm pretty sure that this is in the right section of the forums... I was a little unsure?
But anyway:

Today, out of the blue, a program which I've been working on starting doing this when I started it:
Window creation code:
sf::RenderWindow window(sf::VideoMode(600, 400), "Main", sf::Style::Close);
(http://i61.tinypic.com/313j8cz.png)

After playing around with the window for a bit, I found that removing the style code returned it to normal:
Window creation code:
sf::RenderWindow window(sf::VideoMode(600, 400), "Main");
(http://i57.tinypic.com/14mcsba.png)


There's been no changes made to the computer, (no new software, drivers etc) and the source was not modified between when it was working properly and when it starting showing the dots.

The GUI aspects of the program are drawn through SFGUI but even if I create a rectangle and draw it directly, it is still affected.
Anyone have any possible reasons for why it could be doing that? Because I'm a little confused?

OS: Windows 8.1
Graphics Card: Integrated (AMD 64Bit processor)
SFML Version: About 2 weeks old from the github
Title: AW: Black dots in the window depending on window style
Post by: eXpl0it3r on January 09, 2015, 08:00:29 pm
What kind of display do you have?
Title: Re: Black dots in the window depending on window style
Post by: Cl9 on January 09, 2015, 08:05:38 pm
Err... LCD I'd guess?
It's a laptop.
Title: Re: Black dots in the window depending on window style
Post by: eXpl0it3r on January 09, 2015, 10:39:33 pm
Is it a high DPI display?
Or if you don't know, which laptop do you have?
Title: Re: Black dots in the window depending on window style
Post by: Cl9 on January 09, 2015, 10:57:35 pm
It's a HP Pavilion dv6-6000
Display res: 1366x768
Title: Re: Black dots in the window depending on window style
Post by: Mario on January 16, 2015, 04:55:27 pm
That's looking really weird. Are you sure it's not the driver or somet third party program trying to modify the window frame or something like that?