sandbox
This commit is contained in:
@@ -116,6 +116,13 @@ namespace Archimedes {
|
||||
return glfwWindowShouldClose(window);
|
||||
}
|
||||
|
||||
void setSize(const int& w, const int& h) override {
|
||||
this->w = w;
|
||||
this->h = h;
|
||||
|
||||
glfwSetWindowSize(window, w, h);
|
||||
}
|
||||
|
||||
void restoreContext() override { glfwMakeContextCurrent(window); }
|
||||
|
||||
void getSize(int& w, int& h) override {
|
||||
|
||||
Reference in New Issue
Block a user