Files
Aerofoil/GpCommon/IGpDisplayDriver.h

16 lines
379 B
C
Raw Normal View History

#pragma once
#include "PixelFormat.h"
2019-11-11 00:11:59 -05:00
// 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;
2019-11-11 00:11:59 -05:00
};