From 408148c08e58c559029a403ef1d59a5a79ac5756 Mon Sep 17 00:00:00 2001 From: UjinT34 Date: Thu, 25 Jul 2024 14:55:53 +0300 Subject: [PATCH] cleanup --- src/managers/PointerManager.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); }