I keep getting this error in Debug mode, but not in Run or Compile
Warning: Present: Swap chain is out of date in main.agc at line 626
Here is the section of code.
Line 626 is "Sync()" in the code below.
// ====================================
// Function - delay by seconds
// ====================================
Function Delay(seconds#)
ResetTimer()
repeat
Sync()
until Timer() >= seconds#
EndFunction
Running the current version of AppGameKit Studio.
Program seems to run fine, but would like to correct any
underlying errors that I can to prevent future issues.
What is the issue here that this error message is pointing out?