Hi folks,
Today, I played around with a game I coded with AppGameKit Classic on a Samsung Galaxy S4.
Everytime I suspended the app ( Home button ) and tabbed back in, this error occurred:
Error: Ran out of GPU memory in main.agc at line 212
I had a look at the code, and the line the error occurred was the
Sync() command.
So I tested the following code:
SetErrorMode(2)
SetVirtualResolution( 960, 540 )
SetOrientationAllowed( 0, 0, 1, 1 )
SetSyncRate( 60, 0 )
SetScissor( 0,0,0,0 )
UseNewDefaultFonts( 1 )
do
Print( ScreenFPS() )
Sync()
loop
END
The SAME error popped up when I tabbing out and back in.
I exported to Android using different APIs, but it didn't make a difference.
I've never seen this error before, so I guess something must have changed with one of the latest patches....
Can anybody confirm? I haven't tested exporting with Studio yet...
(edit) I just checked a game ( Space Haze ) that I last updated some time ago ( March 11th, 2020 ), and tabbing in and out works flawlessly. So the problem seems to occur only in AppGameKit builds as from later than March 11th
PSY