This commit is contained in:
UjinT34 2024-07-25 14:55:53 +03:00
parent 19fe56bb12
commit 408148c08e

View file

@ -472,6 +472,9 @@ SP<Aquamarine::IBuffer> CPointerManager::renderHWCursorBuffer(SP<CPointerManager
glReadPixels(0, 0, bufAttrs.size.x, bufAttrs.size.y, GL_RGBA, PFORMAT->glType, bufPtr); glReadPixels(0, 0, bufAttrs.size.x, bufAttrs.size.y, GL_RGBA, PFORMAT->glType, bufPtr);
} }
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glDeleteFramebuffers(1, &id);
buf->endDataPtr(); buf->endDataPtr();
} }