From 3163ed5de28622c09c20d70211bf909d2499193d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 29 May 2008 16:06:50 +0100 Subject: [PATCH] sdl_display_init takes four args --- console.h | 2 +- sdl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/console.h b/console.h index 9af5432c1..d3fd91b93 100644 --- a/console.h +++ b/console.h @@ -118,7 +118,7 @@ void console_select(unsigned int index); void set_color_table(DisplayState *ds); /* sdl.c */ -void sdl_display_init(DisplayState *ds, int full_screen, int no_frame); +void sdl_display_init(DisplayState *ds, int full_screen, int no_frame, int opengl_enabled); /* cocoa.m */ void cocoa_display_init(DisplayState *ds, int full_screen); diff --git a/sdl.c b/sdl.c index 7eb56afb6..71591c364 100644 --- a/sdl.c +++ b/sdl.c @@ -727,7 +727,7 @@ static void sdl_cleanup(void) SDL_Quit(); } -void sdl_display_init(DisplayState *ds, int full_screen, int opengl) +void sdl_display_init(DisplayState *ds, int full_screen, int no_frame, int opengl) { int flags; uint8_t data = 0; -- 2.39.5