From eb90f8e5d48cd4890dabfeaec9fd2e4e90928e82 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 13 Oct 2010 08:40:33 +0000 Subject: [PATCH] Fix for SDL compile (no whatsnew) --- src/osd/sdl/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/sdl/window.c b/src/osd/sdl/window.c index cc2493eaf00..ea1dab2aee6 100644 --- a/src/osd/sdl/window.c +++ b/src/osd/sdl/window.c @@ -986,7 +986,7 @@ void sdlwindow_video_window_update(running_machine *machine, sdl_window_info *wi clear_worker_param(&wp); // ensure the target bounds are up-to-date, and then get the primitives - primlist = window->get_primitives(window); + primlist = &window->get_primitives(window); // and redraw now @@ -1148,7 +1148,7 @@ static OSDWORK_CALLBACK( draw_video_contents_wt ) // Some configurations require events to be polled in the worker thread sdlinput_process_events_buf(wp->machine); - window->primlist = wp->list; + window->primlist = (render_primitive_list*)wp->list; // if no bitmap, just fill if (window->primlist == NULL)