add docking but it's laggy
This commit is contained in:
@@ -14,10 +14,12 @@ namespace Archimedes {
|
||||
|
||||
bool shouldClose();
|
||||
|
||||
void doFrame() { glfwSwapBuffers(w); }
|
||||
void doFrame() { restoreContext(); glfwSwapBuffers(w); }
|
||||
|
||||
void pollEvents() { glfwPollEvents(); }
|
||||
|
||||
void restoreContext() { glfwMakeContextCurrent(w); }
|
||||
|
||||
void getSize(int&, int&);
|
||||
|
||||
GLFWwindow* getWindow() { return w; }
|
||||
|
||||
Reference in New Issue
Block a user