Files
Aerofoil/GpCommon/IGpDisplayDriver.h

16 lines
379 B
C++

#pragma once
#include "PixelFormat.h"
// Display drivers are responsible for timing and calling the game tick function.
class IGpDisplayDriver
{
public:
virtual ~IGpDisplayDriver() {}
virtual void Run() = 0;
virtual void Shutdown() = 0;
virtual void GetDisplayResolution(unsigned int *width, unsigned int *height, PortabilityLayer::PixelFormat *bpp) = 0;
};