Correct implementation of DeviceSource resize

previous commit was bad...
This commit is contained in:
Bruno
2021-05-25 20:20:43 +02:00
parent faf344bc03
commit 07f610e84a
5 changed files with 29 additions and 11 deletions

View File

@@ -69,6 +69,7 @@ public:
inline uint width() const { return attrib_.viewport.x; }
inline uint height() const { return attrib_.viewport.y; }
glm::vec3 resolution() const;
void resize(int width, int height);
float aspectRatio() const;
std::string info() const;