mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 02:05:19 +02:00
fix retina
This commit is contained in:
parent
ccd2f98a76
commit
03a44a1c80
1 changed files with 2 additions and 2 deletions
|
@ -898,8 +898,8 @@ void Application::paintGL() {
|
|||
|
||||
// NOTE: the ApplicationOverlay class assumes it's viewport is setup to be the device size
|
||||
// There is no batch associated with this renderArgs
|
||||
QSize size = qApp->getDeviceSize();
|
||||
renderArgs._viewport = glm::ivec4(0, 0, size.width(), size.height());
|
||||
glm::vec2 size = getCanvasSize();
|
||||
renderArgs._viewport = glm::ivec4(0, 0, size.x, size.y);
|
||||
_applicationOverlay.renderOverlay(&renderArgs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue