mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
restore screenshot logic
This commit is contained in:
parent
d896d2debb
commit
5906421dcf
2 changed files with 14 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue