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.

Newcomers AppGameKit Corner / Screen Tearing (Possible Bug?)

Author
Message
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 3rd Dec 2016 05:37 Edited at: 16th Nov 2017 18:22
Hey guys,

When I run the following code, I get a terrible screen tearing in the upper half of the screen.
When I broadcast it on my Android, it's almost imperceptible, but still there.

Does anybody know why?

The GFX file is attached!



PSY LABS Games
Coders don't die, they just gosub without return

Attachments

Login to view attachments
MikeHart
AGK Bronze Backer
20
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 4th Dec 2016 10:00
As you have set the sync rate manually, it could be that it differs from your device actually. And that could cause tearing I think.
-----------------------------------------------------------
Using AGK2 Tier 1
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 4th Dec 2016 15:51 Edited at: 16th Nov 2017 18:22
Hey Mike,

thank you for your answer!

My TFT refreshes @60Hz, but setting the sync rate manually will never be 100% accurate it seems.

When I use SetVSync ( 1 ), it works flawlessly


Cheers,
PSY


PSY LABS Games
Coders don't die, they just gosub without return

Login to post a reply

Server time is: 2024-03-28 09:56:29
Your offset time is: 2024-03-28 09:56:29