From b1cddd6c3da3a10dbb0e09ef54aa144da080717d Mon Sep 17 00:00:00 2001 From: gambas Date: Mon, 29 Jun 2020 20:23:37 +0200 Subject: [PATCH] Remove useless void line. --- gb.sdl2/src/c_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gb.sdl2/src/c_image.c b/gb.sdl2/src/c_image.c index 9b4d3b37b..58c2b6fb5 100644 --- a/gb.sdl2/src/c_image.c +++ b/gb.sdl2/src/c_image.c @@ -70,7 +70,6 @@ static void *temp_image(GB_IMG *img) if (img && img->data) surface = SDL_CreateRGBSurfaceFrom(img->data, img->width, img->height, 32, img->width * sizeof(int), RMASK, GMASK, BMASK, AMASK); - return SDL_CreateImage(surface); }