|
|
@ -31,8 +31,6 @@ void Window::spawn() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Window::updateSize(int w, int h) { |
|
|
|
void Window::updateSize(int w, int h) { |
|
|
|
// int w, h;
|
|
|
|
|
|
|
|
// glfwGetWindowSize(win, &w, &h);
|
|
|
|
|
|
|
|
_width = w; |
|
|
|
_width = w; |
|
|
|
_height = h; |
|
|
|
_height = h; |
|
|
|
glViewport(0, 0, w, h); |
|
|
|
glViewport(0, 0, w, h); |
|
|
|