Set the blend mode used for blit operations.
To copy a surface to another surface (or texture) without blending with the existing data, the blendmode of the SOURCE surface should be set to SDL_BLENDMODE_NONE.
the SDL_Surface structure to update.
the SDL_BlendMode to use for blit blending.
true on success or false on failure; call SDL_GetError() for more information.
SDL_GetSurfaceBlendMode
See Implementation
Set the blend mode used for blit operations.
To copy a surface to another surface (or texture) without blending with the existing data, the blendmode of the SOURCE surface should be set to SDL_BLENDMODE_NONE.