mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 08:36:26 +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() {
|
void ApplicationOverlay::buildFramebufferObject() {
|
||||||
auto canvasSize = qApp->getCanvasSize();
|
QSize fboSize = qApp->getDeviceSize();
|
||||||
QSize fboSize = QSize(canvasSize.x, canvasSize.y);
|
|
||||||
if (_overlayFramebuffer && fboSize == _overlayFramebuffer->size()) {
|
if (_overlayFramebuffer && fboSize == _overlayFramebuffer->size()) {
|
||||||
// Already built
|
// Already built
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue