add docking but it's laggy

This commit is contained in:
2025-03-22 14:35:49 -05:00
parent bfee8536a8
commit ae0e69b031
4 changed files with 72 additions and 1 deletions

View File

@@ -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; }