From: Rémi Bernon <rbernon@codeweavers.com> --- dlls/opengl32/unix_wgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/opengl32/unix_wgl.c b/dlls/opengl32/unix_wgl.c index 6745aab5745..4d98142a544 100644 --- a/dlls/opengl32/unix_wgl.c +++ b/dlls/opengl32/unix_wgl.c @@ -1504,15 +1504,15 @@ static void flush_context( TEB *teb, void (*flush)(void) ) void wrap_glFinish( TEB *teb ) { const struct opengl_funcs *funcs = teb->glTable; - flush_context( teb, funcs->p_glFinish ); resolve_default_fbo( teb, FALSE ); + flush_context( teb, funcs->p_glFinish ); } void wrap_glFlush( TEB *teb ) { const struct opengl_funcs *funcs = teb->glTable; - flush_context( teb, funcs->p_glFlush ); resolve_default_fbo( teb, FALSE ); + flush_context( teb, funcs->p_glFlush ); } void wrap_glClear( TEB *teb, GLbitfield mask ) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9910