def resize(self, width, height):
self.width = width<EOL>self.height = height<EOL>self.buffer_width, self.buffer_height = glfw.get_framebuffer_size(self.window)<EOL>self.set_default_viewport()<EOL>
Sets the new size and buffer size internally