diff --git a/src/osd/sdl/drawbgfx.c b/src/osd/sdl/drawbgfx.c index a9804dc1b2a..3a5a0c6fe69 100644 --- a/src/osd/sdl/drawbgfx.c +++ b/src/osd/sdl/drawbgfx.c @@ -141,7 +141,7 @@ int sdl_info_bgfx::create(int width, int height) m_blittimer = 3; - bgfx::sdlSetWindow(window().m_sdl_window); + bgfx::sdlSetWindow(window().sdl_window()); bgfx::init(); bgfx::reset(window().width(), window().height(), BGFX_RESET_VSYNC);