screencasting: No need to adjust the scale on the cursor
Otherwise we get some vertical padding when there's scaling
This commit is contained in:
parent
fd25e96969
commit
ed9e1e57b3
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ void ScreenCastStream::recordFrame(const QRegion &damagedRegion)
|
|||
m_cursor.texture->setYInverted(false);
|
||||
m_cursor.texture->bind();
|
||||
const auto cursorRect = cursorGeometry(cursor);
|
||||
mvp.translate(cursorRect.left(), r.height() - cursorRect.top() - cursor->image().height() * m_cursor.scale);
|
||||
mvp.translate(cursorRect.left(), r.height() - cursorRect.top() - cursor->image().height());
|
||||
shader->setUniform(GLShader::ModelViewProjectionMatrix, mvp);
|
||||
|
||||
glEnable(GL_BLEND);
|
||||
|
|
Loading…
Reference in a new issue