diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 845bd442ab..6b17c49563 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -1012,6 +1012,7 @@ SceneOpenGL2::SceneOpenGL2(OpenGLBackend *backend, QObject *parent) const QSize &s = screens()->size(); GLRenderTarget::setVirtualScreenSize(s); + GLRenderTarget::setVirtualScreenGeometry(screens()->geometry()); // push one shader on the stack so that one is always bound ShaderManager::instance()->pushShader(ShaderTrait::MapTexture);