mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-02 13:51:34 +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;
|
|
};
|