summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardwareintegration')
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
index a8ee9a43a..6455b6fa9 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
@@ -147,9 +147,9 @@ public:
{
QOpenGLTextureCache *cache = QOpenGLTextureCache::cacheForContext(m_context->context());
- QRect windowRect = window->window()->frameGeometry();
+ QSize surfaceSize = window->surfaceSize();
int scale = window->scale() ;
- glViewport(0, 0, windowRect.width() * scale, windowRect.height() * scale);
+ glViewport(0, 0, surfaceSize.width() * scale, surfaceSize.height() * scale);
glDisable(GL_DEPTH_TEST);
glDisable(GL_BLEND);
upstream/revert-87357-reenable-external-categories Vendor branches of https://github.com/llvm/llvm-project.git
summaryrefslogtreecommitdiffstats
path: root/llvm/test/JitListener
Commit message (Expand)AuthorAgeFilesLines
* Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" a...Fangrui Song2019-12-242-2/+2