From 8e54b9ec68b18c719177a7cc56106065c67c93b5 Mon Sep 17 00:00:00 2001 From: UjinT34 Date: Fri, 12 Jul 2024 15:15:20 +0300 Subject: [PATCH] unmap gbm buffer when done --- src/managers/PointerManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/managers/PointerManager.cpp b/src/managers/PointerManager.cpp index 8fac08eaffe..cf10db71db3 100644 --- a/src/managers/PointerManager.cpp +++ b/src/managers/PointerManager.cpp @@ -421,6 +421,9 @@ SP CPointerManager::renderHWCursorBuffer(SPshm().size.y; i++) memcpy(bufPtr + i * buf->dmabuf().strides[0], texPtr + i * textAttrs.stride, textAttrs.stride); } + + buf->endDataPtr(); + return buf; }