It's ok to leave NULLs in the raws list (according to usage in g_src)
| 128 | |
| 129 | // It's ok to leave NULLs in the raws list (according to usage in g_src) |
| 130 | void DFSDL::cleanup() { |
| 131 | if (g_sdl_handle) { |
| 132 | ClosePlugin(g_sdl_handle); |
| 133 | g_sdl_handle = nullptr; |
| 134 | } |
| 135 | if (g_sdl_image_handle) { |
| 136 | ClosePlugin(g_sdl_image_handle); |
| 137 | g_sdl_image_handle = nullptr; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | SDL_Surface * DFSDL::DFIMG_Load(const char *file) { |
| 142 | return g_IMG_Load(file); |
nothing calls this directly
no test coverage detected