mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
16 lines
379 B
C++
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;
|
|
};
|