mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
screen texture and main window are now private members of screen handler
This commit is contained in:
@@ -44,7 +44,9 @@ enum class EUpscalingFilter
|
||||
/// This class is responsible for management of game window and its main rendering surface
|
||||
class ScreenHandler final : public IScreenHandler
|
||||
{
|
||||
SDL_Surface * screen = nullptr; //main screen surface
|
||||
SDL_Window * mainWindow = nullptr;
|
||||
SDL_Texture * screenTexture = nullptr;
|
||||
SDL_Surface * screen = nullptr;
|
||||
|
||||
EUpscalingFilter upscalingFilter = EUpscalingFilter::AUTO;
|
||||
|
||||
@@ -118,7 +120,7 @@ public:
|
||||
|
||||
Canvas getScreenCanvas() const final;
|
||||
void updateScreenTexture() final;
|
||||
void presetScreenTexture() final;
|
||||
void presentScreenTexture() final;
|
||||
|
||||
std::vector<Point> getSupportedResolutions() const final;
|
||||
std::vector<Point> getSupportedResolutions(int displayIndex) const;
|
||||
|
||||
Reference in New Issue
Block a user