Add texture alpha blending

This commit is contained in:
2021-03-07 13:18:58 +01:00
parent fbc1fdd6f7
commit c7ec12584c
4 changed files with 19 additions and 1 deletions
+1
View File
@@ -22,6 +22,7 @@ public:
const int outline_size = -1 );
virtual ~Texture();
SDL_Texture *getTexturePtr();
void setAlpha( uint8_t alpha );
private:
void setTextureFromSurface( std::shared_ptr< Renderer > &renderer,