|
@@ -45,6 +45,7 @@ Error Window::open(const WindowOptions& options) {
|
|
|
if(window == nullptr) {
|
|
|
return {"could not create window"};
|
|
|
}
|
|
|
+ size = options.size;
|
|
|
glfwSetWindowUserPointer(window, this);
|
|
|
glfwSetKeyCallback(window, onKey);
|
|
|
glfwSetCharCallback(window, onChar);
|