Page 1 of 1

Problems with button responsivness, solved?

PostPosted: Aug 7, 2003 @ 9:58am
by Guest

PostPosted: Aug 7, 2003 @ 10:00am
by okku

PostPosted: Aug 7, 2003 @ 10:34am
by Johan
You could check the flags sent to ProcessNextFrame.. If (dwFlags & GDAPP_FRAMETIMEOVERFLOW) this indicates that you are trying to push the little Pocket PC beyond it's limits...

You could do:

if (dwFlags & GDAPP_FRAMETIMEOVERFLOW)
{
Sleep(0);
}

I thought this wasn't an issue anymore since GapiDraw now uses a single-threaded model.. Appearantly it is. Thanks for notifying me, I'll add a Sleep(0) to CGapiApplication if it cannot keep up with the target number of FPS in the next release (2.10).

//Johan