un-SetFrameRate
un-SetFrameRate
Is there a way to unset (i.e. set to default) the framerate if it is set?
Re: un-SetFrameRate
You mean RefershRate?...
https://www.purebasic.com/documentation ... creen.html
https://www.purebasic.com/documentation ... creen.html
Re: un-SetFrameRate
No, I'm using SetFrameRate for my experiments.
SetFrameRate(0) - causes program to crash with: "SetFrameRate(): Frame rate can't be less than 1."
SetFrameRate(0) - causes program to crash with: "SetFrameRate(): Frame rate can't be less than 1."
Re: un-SetFrameRate
What about not to use "Vsynch" with Open (Windowed)Screen?
Re: un-SetFrameRate
Additional code would be required to ensure that the timing is correct across different Systems.darius676 wrote: Mon Feb 14, 2022 12:35 pm What about not to use "Vsynch" with Open (Windowed)Screen?
Re: un-SetFrameRate
I would not care about the framerate. Just use a 'delta' timing value as a factor in calculations. example: https://www.purebasic.fr/english/viewto ... 97#p496697
Re: un-SetFrameRate
I have left the adjust framerate feature in my SW so if someone runs it on an ancient machine it will still work.
To lower the overhead I reworked the way the graphics is(was) generated (basically stop regenerating the complex graph background each frame).
To lower the overhead I reworked the way the graphics is(was) generated (basically stop regenerating the complex graph background each frame).