Added new method to get the right viewport size in stereo (side-by-side) and fix font rendering.

This commit is contained in:
Jonathas Costa
2018-04-20 11:22:23 -04:00
parent 1e0d41fb30
commit 5079beba78
6 changed files with 44 additions and 18 deletions
@@ -56,6 +56,7 @@ public:
glm::ivec2 currentSubwindowSize() const override;
glm::ivec2 currentWindowResolution() const override;
glm::ivec2 currentDrawBufferResolution() const override;
glm::ivec2 getCurrentViewportSize() const override;
glm::vec2 dpiScaling() const override;
int currentNumberOfAaSamples() const override;