Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Black dots in the window depending on window style  (Read 2830 times)

0 Members and 1 Guest are viewing this topic.

Cl9

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Black dots in the window depending on window style
« 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);


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");



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

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
AW: Black dots in the window depending on window style
« Reply #1 on: January 09, 2015, 08:00:29 pm »
What kind of display do you have?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Cl9

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: Black dots in the window depending on window style
« Reply #2 on: January 09, 2015, 08:05:38 pm »
Err... LCD I'd guess?
It's a laptop.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Black dots in the window depending on window style
« Reply #3 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?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Cl9

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: Black dots in the window depending on window style
« Reply #4 on: January 09, 2015, 10:57:35 pm »
It's a HP Pavilion dv6-6000
Display res: 1366x768

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Black dots in the window depending on window style
« Reply #5 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?