mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Make each OS window have its own framebuffer
This commit fixes graphics rendering when more than one OS window is open, all OS windows are semi-transparent, and multiple windows contain graphics. This commit closes #2310.
This commit is contained in:
@@ -81,6 +81,11 @@ free_texture(GLuint *tex_id) {
|
||||
*tex_id = 0;
|
||||
}
|
||||
|
||||
void
|
||||
free_framebuffer(GLuint *fb_id) {
|
||||
glDeleteFramebuffers(1, fb_id);
|
||||
*fb_id = 0;
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user