X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=c881a3df3cbfb31abc203271d59c29c4febefd44;hb=d77d7ac6d22b63ff3e10608e54c7ac919915fae9;hp=79827b4501dc6247076dc4dd1385378d813ca1be;hpb=8bc9d8febda30d07142948f6b892365d3e11a940;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index 79827b45..c881a3df 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -102,6 +102,10 @@ struct SDLSurfaceInfo int width, height; SDL_Surface *surface; SDL_Surface *surface_masked; +#if defined(TARGET_SDL2) + SDL_Texture *texture; + SDL_Texture *texture_masked; +#endif }; struct MouseCursorInfo @@ -428,6 +432,7 @@ struct MouseCursorInfo boolean SDLSetNativeSurface(SDL_Surface **); SDL_Surface *SDLGetNativeSurface(SDL_Surface *); +void SDLCreateBitmapTextures(Bitmap *); #if defined(TARGET_SDL2) SDL_Surface *SDL_DisplayFormat(SDL_Surface *);