diff --git a/src/managers/PointerManager.cpp b/src/managers/PointerManager.cpp index e6bebdfd..d996b828 100644 --- a/src/managers/PointerManager.cpp +++ b/src/managers/PointerManager.cpp @@ -460,8 +460,10 @@ SP CPointerManager::renderHWCursorBuffer(SPm_vSize.x * 4 * texture->m_vSize.y, 0}; + else { + texData.resize(texture->m_vSize.x * 4 * texture->m_vSize.y); + memset(texData.data(), 0x00, texData.size()); + } if (flipRB) { for (size_t i = 0; i < shmBuffer.size(); i += 4) {