/* Return the current framecount. 
Get the current framecount from the framerate manager. A frame is counted each time SDL_framerateDelay is called. */
int SDL_getFramecount(FPSmanager *manager)
/* Return the current framecount. 
Get the current framecount from the framerate manager. A frame is counted each time SDL_framerateDelay is called. */
int SDL_getFramecount(FPSmanager *manager)
{
	if (manager == NULL) {
		return (-1);
	} else {
		return ((int)manager->framecount);
	}
}