openurl file + starting with sending image file and pasting

This commit is contained in:
2023-10-04 02:11:06 +02:00
parent 89bc11eca7
commit fc90106d83
9 changed files with 322 additions and 2 deletions

View File

@ -16,6 +16,7 @@ ImageLoaderSDLBMP::ImageInfo ImageLoaderSDLBMP::loadInfoFromMemory(const uint8_t
res.width = surf->w;
res.height = surf->h;
res.file_ext = "bmp";
SDL_DestroySurface(surf);
@ -40,6 +41,7 @@ ImageLoaderSDLBMP::ImageResult ImageLoaderSDLBMP::loadFromMemoryRGBA(const uint8
res.width = surf->w;
res.height = surf->h;
res.file_ext = "bmp";
SDL_LockSurface(conv_surf);