restore screenshot logic

This commit is contained in:
Stepanov Igor 2025-10-07 23:28:17 +03:00
parent d896d2debb
commit 5906421dcf
2 changed files with 14 additions and 3 deletions

View file

@ -1,11 +1,10 @@
#include <SDL3/SDL_render.h>
#include <SDL3/SDL_video.h>
#include <stack>
#include "window/window.hpp"
struct SDL_Window;
class window_sdl final : public Window {
public:
window_sdl(DisplaySettings *settings, std::string title) noexcept;
@ -49,6 +48,7 @@ private:
bool fullscreen = false;
SDL_Window *window = nullptr;
SDL_Renderer *renderer = nullptr;
SDL_GLContext context = nullptr;
std::stack<glm::vec4> scissorStack;