16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 15:59:18 +02:00

configurable fullscreen monitors

This commit is contained in:
milek7
2019-02-21 00:06:51 +01:00
parent cbd640a6aa
commit 56584dc13e
7 changed files with 72 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ class texture_window
GLFWwindow *m_window;
GLuint m_source;
std::shared_ptr<std::thread> m_renderthread;
GLFWmonitor *monitor = nullptr;
bool m_exit = false;
@@ -15,7 +16,7 @@ class texture_window
void threadfunc();
public:
texture_window(texture_handle src);
texture_window(texture_handle src, std::string name);
~texture_window();
void notify_window_size(int w, int h);