SFML community forums

Help => Graphics => Topic started by: snakeBiscuits on September 04, 2017, 03:24:21 pm

Title: Screwy bounds (even for basic examples)
Post by: snakeBiscuits on September 04, 2017, 03:24:21 pm
Hi guys.

Appreciate some help diagnosing this problem. Have this little problem. This is just an example, I am getting it across the board.

Same results with x86/x64 and debug/release no matter what combo. At first I thought it might be an issue with display scaling somehow, but no.

This one is from the SFML And Visual Studio tutorial page. Image: https://ibb.co/hTssbv (https://ibb.co/hTssbv)
Title: Re: Screwy bounds (even for basic examples)
Post by: eXpl0it3r on September 04, 2017, 06:23:40 pm
Can you provide a description of the problem?
Title: Re: Screwy bounds (even for basic examples)
Post by: snakeBiscuits on September 04, 2017, 07:33:53 pm
It's more a visual thing, hence the link to the picture.

Even running the basic "SFML Works!!!" example shows that the circle is not in the bounds of the RenderWindow. Given the dimensions of the window and the circle, it should all fit.

Anyway, having further looked at the problem, it appears to occur on my laptop, but not my desktop, so it looks like it is not SFML's fault at all.

The question then becomes, what on earth is causing it.
Title: Re: Screwy bounds (even for basic examples)
Post by: eXpl0it3r on September 04, 2017, 07:35:07 pm
What DPI scaling are you using?
Title: Re: Screwy bounds (even for basic examples)
Post by: snakeBiscuits on September 04, 2017, 08:07:33 pm
Tried it on 100 and 150, both with a full reboot.

Null sweat, chummer. Given that it's local to my laptop, it's not something I expect any serious technical support on. Especially given that no one else seems to have the issue (Being on the https://www.sfml-dev.org/tutorials/2.4/start-vc.php (https://www.sfml-dev.org/tutorials/2.4/start-vc.php) page would give that code frag a lot of use).

Cheers anyway.
Title: Re: Screwy bounds (even for basic examples)
Post by: eXpl0it3r on September 04, 2017, 10:42:59 pm
Check your graphics card scaling.