mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-24 13:28:55 -05:00
Added new method to get the right viewport size in stereo (side-by-side) and fix font rendering.
This commit is contained in:
@@ -537,7 +537,8 @@ glm::ivec2 RenderEngine::fontResolution() const {
|
||||
value
|
||||
);
|
||||
if (hasValue && value == "framebuffer") {
|
||||
return OsEng.windowWrapper().currentWindowResolution();
|
||||
return OsEng.windowWrapper().getCurrentViewportSize();
|
||||
//return OsEng.windowWrapper().currentWindowResolution();
|
||||
}
|
||||
else {
|
||||
// The default is to use the window size
|
||||
|
||||
Reference in New Issue
Block a user