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

fix python window double-free

This commit is contained in:
milek7
2019-03-16 21:39:49 +01:00
parent debf0f6eff
commit 7bc59b50e0
3 changed files with 8 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ public:
on_focus_change(bool focus);
// gives access to specified window, creates a new window if index == -1
GLFWwindow *
window(int const Windowindex = 0 , bool visible = false, int width = 1, int height = 1, GLFWmonitor *monitor = nullptr);
window(int const Windowindex = 0 , bool visible = false, int width = 1, int height = 1, GLFWmonitor *monitor = nullptr, bool keep_ownership = true);
GLFWmonitor *
find_monitor(const std::string &str);
// generate network sync verification number