diff --git a/src/managers/PointerManager.cpp b/src/managers/PointerManager.cpp index 9f1e4678..4b358522 100644 --- a/src/managers/PointerManager.cpp +++ b/src/managers/PointerManager.cpp @@ -472,6 +472,9 @@ SP CPointerManager::renderHWCursorBuffer(SPglType, bufPtr); } + glBindFramebuffer(GL_FRAMEBUFFER, 0); + glDeleteFramebuffers(1, &id); + buf->endDataPtr(); }