1
0
Fork 0

Merge pull request #111834 from clayjohn/OBS-bug

Use `GL_FRAMEBUFFER` instead of `GL_DRAW_FRAMEBUFFER` when doing final blit to the screen framebuffer to work around OBS bug
This commit is contained in:
Thaddeus Crews 2025-10-21 19:09:31 -05:00
commit 84d516fc91
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ void RasterizerGLES3::_blit_render_target_to_screen(DisplayServer::WindowID p_sc
}
#endif
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, GLES3::TextureStorage::system_fbo);
glBindFramebuffer(GL_FRAMEBUFFER, GLES3::TextureStorage::system_fbo);
if (p_first) {
if (p_blit.dst_rect.position != Vector2() || p_blit.dst_rect.size != rt->size) {