glfw: add buffers resolution setters