mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
23 lines
542 B
C++
23 lines
542 B
C++
#include "HostSuspendHook.h"
|
|
#include "HostSuspendCallArgument.h"
|
|
|
|
#include "DisplayDeviceManager.h"
|
|
|
|
#include "PLDrivers.h"
|
|
#include "IGpDisplayDriver.h"
|
|
#include "IGpInputDriver.h"
|
|
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
void RenderFrames(unsigned int ticks)
|
|
{
|
|
PLDrivers::GetDisplayDriver()->ServeTicks(ticks);
|
|
DisplayDeviceManager::GetInstance()->IncrementTickCount(ticks);
|
|
|
|
const size_t numInputDrivers = PLDrivers::GetNumInputDrivers();
|
|
for (size_t i = 0; i < numInputDrivers; i++)
|
|
PLDrivers::GetInputDriver(i)->ProcessInput();
|
|
}
|
|
}
|