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); }