directfb: Fix return type of DirectFB_RenderPresent()

main
Cameron Gutman 2022-10-13 18:44:15 -05:00
parent fc73386f45
commit f5afb7d11a
1 changed files with 2 additions and 1 deletions

View File

@ -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