Commit e57be931 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Merge Service
Browse files

backends/drm: Specify clear color for cursor plane

Otherwise the results are undefined.

BUG: 454068
Tested-by: Merge Service <!2466>
Part-of: <!2466>
parent 572a0904
Pipeline #180713 passed with stage
in 15 minutes and 22 seconds
......@@ -449,7 +449,9 @@ void DrmOutput::renderCursorOpengl(const QSize &cursorSize)
QMatrix4x4 mvp;
mvp.ortho(QRect(QPoint(), renderTarget.size()));
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment