Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [ BUG ] version 2019-01-08 - MacOS ( maybe Windows? ) - SetVSync() no longer working as expected

Author
Message
Qube_
9
Years of Service
User Offline
Joined: 21st Oct 2014
Location: Omnipresent
Posted: 9th Jan 2019 02:05
SetVSync() now appears to be broken.

In previous versions you could do something like :

SetSyncRate( 10000, 1 )
SetVSync( vSync )

And toggle vSync between 0 and 1 to quickly see the max FPS your game can run or sync with your monitors refresh rate.

The docs state that SetVSync overrides SetSyncRate but that no longer appears to be the case.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th Jan 2019 23:13
This appears to be a bug in MacOS 10.14 which is fixed in 10.14.2
Qube_
9
Years of Service
User Offline
Joined: 21st Oct 2014
Location: Omnipresent
Posted: 10th Jan 2019 21:18
Quote: "This appears to be a bug in MacOS 10.14 which is fixed in 10.14.2"


I am on 10.14.2

If I do this :

SetSyncRate( 10000, 1 )
SetVSync( vSync )

vSync is ignored if I set it to 0 or 1 but in previous versions ( before the retina issue ) it worked.

If I have :

// SetSyncRate( 10000, 1 )
SetVSync( vSync )

VSync is always on no matter if i set vSync to 0 or 1
MikeHart
AGK Bronze Backer
20
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 1st Apr 2019 12:40
Is this fixed?

Login to post a reply

Server time is: 2024-04-26 11:52:54
Your offset time is: 2024-04-26 11:52:54