src/egl/drivers/haiku/egl_haiku.cpp:379:58: error: no matching function for call to 'haiku_egl_surface::haiku_egl_surface(_EGLSurface*&)' struct haiku_egl_surface* surface=haiku_egl_surface(surf); ^ src/egl/drivers/haiku/egl_haiku.cpp:379:58: note: candidates are: src/egl/drivers/haiku/egl_haiku.cpp:65:8: note: haiku_egl_surface::haiku_egl_surface() struct haiku_egl_surface ^ src/egl/drivers/haiku/egl_haiku.cpp:65:8: note: candidate expects 0 arguments, 1 provided src/egl/drivers/haiku/egl_haiku.cpp:65:8: note: haiku_egl_surface::haiku_egl_surface(const haiku_egl_surface&) src/egl/drivers/haiku/egl_haiku.cpp:65:8: note: no known conversion for argument 1 from '_EGLSurface* {aka _egl_surface*}' to 'const haiku_egl_surface&'