Skip to content

Commit

Permalink
unmap gbm buffer when done
Browse files Browse the repository at this point in the history
  • Loading branch information
UjinT34 committed Jul 12, 2024
1 parent 1b0c536 commit 8e54b9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/managers/PointerManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ SP<Aquamarine::IBuffer> CPointerManager::renderHWCursorBuffer(SP<CPointerManager
for (int i = 0; i < texBuffer->shm().size.y; i++)
memcpy(bufPtr + i * buf->dmabuf().strides[0], texPtr + i * textAttrs.stride, textAttrs.stride);
}

buf->endDataPtr();

return buf;
}

Expand Down

0 comments on commit 8e54b9e

Please sign in to comment.