mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
Fixing blurry UI on retina displays
This commit is contained in:
parent
e66b2d4141
commit
5bbfb97c37
1 changed files with 1 additions and 2 deletions
|
@ -225,8 +225,7 @@ GLuint ApplicationOverlay::getOverlayTexture() {
|
|||
}
|
||||
|
||||
void ApplicationOverlay::buildFramebufferObject() {
|
||||
auto canvasSize = qApp->getCanvasSize();
|
||||
QSize fboSize = QSize(canvasSize.x, canvasSize.y);
|
||||
QSize fboSize = qApp->getDeviceSize();
|
||||
if (_overlayFramebuffer && fboSize == _overlayFramebuffer->size()) {
|
||||
// Already built
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue