mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 15:45:59 +01:00
cleanup
This commit is contained in:
parent
19fe56bb12
commit
408148c08e
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
glDeleteFramebuffers(1, &id);
|
||||
|
||||
buf->endDataPtr();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue