From f5afb7d11ae06a0118c6ec4b06715c27e0aef4a9 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 13 Oct 2022 18:44:15 -0500 Subject: [PATCH] directfb: Fix return type of DirectFB_RenderPresent() --- src/video/directfb/SDL_DirectFB_render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/directfb/SDL_DirectFB_render.c b/src/video/directfb/SDL_DirectFB_render.c index 257e95005..bcb2600ea 100644 --- a/src/video/directfb/SDL_DirectFB_render.c +++ b/src/video/directfb/SDL_DirectFB_render.c @@ -1025,7 +1025,7 @@ DirectFB_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void * } -static void +static int DirectFB_RenderPresent(SDL_Renderer * renderer) { DirectFB_RenderData *data = (DirectFB_RenderData *) renderer->driverdata; @@ -1056,6 +1056,7 @@ DirectFB_RenderPresent(SDL_Renderer * renderer) /* Send the data to the display */ SDL_DFB_CHECK(windata->window_surface->Flip(windata->window_surface, NULL, data->flipflags)); + return 0; } static void