Mercurial > hg > dmlib
diff src/dmimage.h @ 1560:7a2337dcd1b3
Cleanup some remnants of SDL1 code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 13 May 2018 06:39:13 +0300 |
parents | 5e5f75b45f8d |
children |
line wrap: on
line diff
--- a/src/dmimage.h Sun May 13 06:14:08 2018 +0300 +++ b/src/dmimage.h Sun May 13 06:39:13 2018 +0300 @@ -15,7 +15,7 @@ #endif -SDL_Surface *dmCreateRGBSurfaceFrom(void *data, const int width, const int height, const int depth, const int pitch, const int rmask, const int gmask, const int bmask, const int amask); +SDL_Surface *dmCreateRGBSurfaceFrom(void *data, const int width, const int height, const int depth, const int pitch, const Uint32 format); SDL_Surface *dmCreatePaletteSurfaceFrom(void *data, const int width, const int height, const int pitch); SDL_Surface *dmLoadImage(DMResource *file); SDL_Texture *dmLoadImageToTexture(DMResource *file, SDL_Renderer *renderer);