diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 62d2fb5c3cd..6ca5241c815 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_haiku.cpp @@ -49,6 +49,8 @@ #include "hgl/hgl_sw_winsys.h" #include "hgl_context.h" +#include + extern "C" { #include "target-helpers/inline_sw_helper.h" } @@ -239,6 +241,8 @@ haiku_swap_buffers(_EGLDisplay *disp, _EGLSurface *surf) update_size(buffer); + st_context_invalidate_state(st, ST_INVALIDATE_FB_STATE); + return EGL_TRUE; }