Project

General

Profile

Bug #570

Multiple calls to point function between waits is generating verbose messages in console.

Added by David Baldwin over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
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

#1

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.

#2

Updated by David Baldwin over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF