Added screenshot feature (F2 key)

This commit is contained in:
MihailRis
2023-11-13 15:01:41 +03:00
parent d42d2dc294
commit 3723cf491f
9 changed files with 113 additions and 11 deletions
+3 -1
View File
@@ -10,6 +10,7 @@
#include <glm/glm.hpp>
class GLFWwindow;
class ImageData;
class Window {
static GLFWwindow* window;
@@ -33,8 +34,9 @@ public:
static void resetScissor();
static void clear();
static double time();
static ImageData* takeScreenshot();
};
#endif /* WINDOW_WINDOW_H_ */