Bug #570
Multiple calls to point function between waits is generating verbose messages in console.
Start date:
11/15/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Multiple calls to point function between waits is slowing program significantly and generating verbose messages in console.
Here's a simple demonstration:-
Fix 2
Do
For f=1 to 10
Locate 0,0 : Print timer
P=Point (100,100)
next f
wait vbl
loop
ERROR MESSAGE
[Violation] 'requestAnimationFrame' handler took 147ms
Updated by Baptiste Bideaux over 3 years ago
- Status changed from New to Resolved
Well, modify your code like this :
Do
For f=1 to 10
Locate 0,0 : Print timer
P=Point (100,100)
Wait Vbl
next f
wait vbl
loop
That's works in AOZ Viewer and Browser.